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
declaringTypeIType- The type metadata that contains the method.
methodInfoMethodInfo- The reflection method to get metadata for.
Returns
- IMethodBase
- A metadata representation of the specified method.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeormethodInfoisnull. - ArgumentException
- Thrown when
methodInfodoes not belong todeclaringType.
