ExtensionBlockAdapter Constructor

Namespace
Kampute.DocToolkit.Metadata.Adapters
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the ExtensionBlockAdapter class.
public ExtensionBlockAdapter(IType declaringType, ExtensionBlockInfo extensionBlock)

Parameters

declaringType IType
The type that declares the extension block.
extensionBlock ExtensionBlockInfo
The extension block information to wrap.

Exceptions

ArgumentNullException
Thrown when declaringType or extensionBlock is null.
ArgumentException
Thrown when extensionBlock does not belong to the declaringType.