Table of Contents

Constructor PreservedPart

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

PreservedPart(string, string, IPackagePartDataSource?)

Initializes a preserved part.

public PreservedPart(string partUri, string contentType, IPackagePartDataSource? source)

Parameters

partUri string

The part URI.

contentType string

The part's content type.

source IPackagePartDataSource

The data source the bytes stream from, or null.

Exceptions

ArgumentNullException

partUri or contentType is null.