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
declaringTypeTypeModel- The declaring type of the method.
methodIMethod- The metadata of the method represented by this instance.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeormethodisnull. - ArgumentException
- Thrown when
methodis not a method ofdeclaringType.
