IMemberAdapterFactory.CreateExtensionBlockMetadata Method

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

Definition

Creates the extension block metadata for the specified extension block information.
IExtensionBlock CreateExtensionBlockMetadata(IType declaringType, ExtensionBlockInfo extensionBlock)

Parameters

declaringType IType
The type metadata that declares the extension block.
extensionBlock ExtensionBlockInfo
The extension block information to get metadata for.

Returns

IExtensionBlock
A metadata representation of the specified extension block.

Exceptions

ArgumentNullException
Thrown when extensionBlock is null.
ArgumentException
Thrown when extensionBlock does not belong to the specified class.