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
declaringTypeIType- The type that declares the extension block.
extensionBlockExtensionBlockInfo- The extension block information to wrap.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeorextensionBlockisnull. - ArgumentException
- Thrown when
extensionBlockdoes not belong to thedeclaringType.
