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
containerTypeType- The container type.
Returns
- IEnumerable<PropertyInfo>
- The extension properties declared on the container type.
Exceptions
- ArgumentNullException
- Thrown if
containerTypeisnull. - ArgumentException
- Thrown if
containerTypedoes not belong to the same assembly as the repository. - Thrown if
containerTypeis not a top-level non-generic static class.
