IExtensionReflectionRepository.GetDeclaredExtensionBlocks Method

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

Definition

Retrieves reflection information for all extension blocks declared on the given container type.
IReadOnlyList<ExtensionBlockInfo> GetDeclaredExtensionBlocks(Type containerType)

Parameters

containerType Type
The container type.

Returns

IReadOnlyList<ExtensionBlockInfo>
The extension blocks declared on the container type.

Exceptions

ArgumentNullException
Thrown if containerType is null.
ArgumentException
Thrown if containerType does not belong to the same assembly as the resolver.
Thrown if containerType is not a top-level non-generic static class.