IExtensionReflectionRepository.GetExtensionMemberInfo Method
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Retrieves the extension member information for the specified method, if it is an extension method or property accessor.
MemberInfo GetExtensionMemberInfo(MethodInfo methodInfo)Parameters
methodInfoMethodInfo- The reflection information of the method to examine.
Returns
- MemberInfo
- The extension member information if the method is an extension method or property accessor; otherwise,
null.
Exceptions
- ArgumentNullException
- Thrown if
methodInfoisnull. - ArgumentException
- Thrown if
methodInfodoes not belong to the same assembly as the resolver.

methodInfo.null.