MemberAdapterRepository.CreateExtensionBlockMetadata Method

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

Definition

Creates extension block metadata for the specified extension block information.
protected virtual IExtensionBlock CreateExtensionBlockMetadata(ExtensionBlockInfo extensionBlock)

Parameters

extensionBlock ExtensionBlockInfo
The extension block information to create metadata for.

Returns

IExtensionBlock
The metadata representation of the specified extension block.

Exceptions

ArgumentNullException
Thrown when extensionBlock is null.
ArgumentException
Thrown when the provided extension block does not belong to the assembly of this provider.