OperatorModel Constructor
- Namespace
- Kampute.DocToolkit.Models
- Assembly
- Kampute.DocToolkit.dll
Definition
Initializes a new instance of the OperatorModel class.
public OperatorModel(TypeModel declaringType, IOperator op)Parameters
declaringTypeTypeModel- The declaring type of the operator.
opIOperator- The metadata of the operator represented by this instance.
Exceptions
- ArgumentNullException
- Thrown when
declaringTypeoropisnull. - ArgumentException
- Thrown when
opis not an operator ofdeclaringType.
