ExtensionReflectionRepository.GetExtensionContainer Method

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

Definition

Gets the cached ExtensionContainerInfo for the given container type.
protected virtual ExtensionContainerInfo GetExtensionContainer(Type containerType)

Parameters

containerType Type
The container type.

Returns

ExtensionContainerInfo
A ExtensionContainerInfo instance.

Exceptions

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