ExtensionReflectionRepository.GetDeclaredExtensionBlocks Method
- Namespace
- Kampute.DocToolkit.Metadata.Adapters
- Assembly
- Kampute.DocToolkit.dll
Definition
Retrieves reflection information for all extension blocks declared on the given container type.
public IReadOnlyList<ExtensionBlockInfo> GetDeclaredExtensionBlocks(Type containerType)Parameters
containerTypeType- The container type.
Returns
- IReadOnlyList<ExtensionBlockInfo>
- The extension blocks declared on the container type.
Exceptions
- ArgumentNullException
- Thrown if
containerTypeisnull. - ArgumentException
- Thrown if
containerTypedoes not belong to the same assembly as the resolver. - Thrown if
containerTypeis not a top-level non-generic static class.
