IMemberAdapterFactory.CreateMethodMetadata Method

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

Definition

Creates the method metadata for the specified method within the given declaring type.
IMethodBase CreateMethodMetadata(IType declaringType, MethodInfo methodInfo)

Parameters

declaringType IType
The type metadata that contains the method.
methodInfo MethodInfo
The reflection method to get metadata for.

Returns

IMethodBase
A metadata representation of the specified method.

Exceptions

ArgumentNullException
Thrown when declaringType or methodInfo is null.
ArgumentException
Thrown when methodInfo does not belong to declaringType.