ExtensionReflectionRepository.GetDeclaredExtensionProperties Method

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

Definition

Retrieves reflection information for all extension properties declared by the extension blocks on the given container type.
public IEnumerable<PropertyInfo> GetDeclaredExtensionProperties(Type containerType)

Parameters

containerType Type
The container type.

Returns

IEnumerable<PropertyInfo>
The extension properties 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 repository.
Thrown if containerType is not a top-level non-generic static class.