MethodModel Constructor

Namespace
Kampute.DocToolkit.Models
Assembly
  • Kampute.DocToolkit.dll

Definition

Initializes a new instance of the MethodModel class.
public MethodModel(TypeModel declaringType, IMethod method)

Parameters

declaringType TypeModel
The declaring type of the method.
method IMethod
The metadata of the method represented by this instance.

Exceptions

ArgumentNullException
Thrown when declaringType or method is null.
ArgumentException
Thrown when method is not a method of declaringType.