IMemberAdapterRepository.GetMemberMetadata Method
- Namespace
- Kampute.DocToolkit.Metadata
- Assembly
- Kampute.DocToolkit.dll
Definition
Gets the member metadata for the specified member within the assembly.
IMember GetMemberMetadata(MemberInfo memberInfo)This method has a default implementation in the interface.
Parameters
memberInfoMemberInfo- The reflection member to get metadata for.
Returns
- IMember
- A metadata representation of the specified member.
Exceptions
- ArgumentNullException
- Thrown when
memberInfoisnull. - ArgumentException
- Thrown when
memberInfodoes not belong to the assembly. - NotSupportedException
- Thrown when the member is not supported.

memberInfocan represent any member type, including types, constructors, methods, properties, events, and fields. If thememberInfocorresponds to an accessor of an extension property, the method will resolve and return the appropriate property metadata.