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

declaringType TypeModel
The declaring type of the operator.
op IOperator
The metadata of the operator represented by this instance.

Exceptions

ArgumentNullException
Thrown when declaringType or op is null.
ArgumentException
Thrown when op is not an operator of declaringType.