IExtensionReflectionRepository.GetDeclaredExtensionMethods Method
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Retrieves reflection information for all extension methods declared by the extension blocks on the given container type.
IEnumerable<MethodInfo> GetDeclaredExtensionMethods(Type containerType)Parameters
containerTypeType- The container type.
Returns
- IEnumerable<MethodInfo>
- The extension methods 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.
