MemberAdapterRepository.GetMethodMetadata Method

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

Definition

Gets the method metadata for the specified method within the assembly.
public virtual IMethodBase GetMethodMetadata(MethodInfo methodInfo)

Parameters

methodInfo MethodInfo
The reflection method to get metadata for.

Returns

IMethodBase
A metadata representation of the specified method.

Exceptions

ArgumentNullException
Thrown when methodInfo is null.
ArgumentException
Thrown when methodInfo does not belong to the assembly.