MemberAdapterFactory.CreateExtensionBlockMetadata Method
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Creates the extension block metadata for the specified extension block information.
public virtual IExtensionBlock CreateExtensionBlockMetadata(IType declaringType, ExtensionBlockInfo extensionBlock)Parameters
declaringTypeIType- The type metadata that declares the extension block.
extensionBlockExtensionBlockInfo- The extension block information to get metadata for.
Returns
- IExtensionBlock
- A metadata representation of the specified extension block.
Exceptions
- ArgumentNullException
- Thrown when
extensionBlockisnull. - ArgumentException
- Thrown when
extensionBlockdoes not belong to the specified class.
