Constructor AIConstraintAttribute
- Namespace
- IntentSharp.Attributes
- Assembly
- IntentSharp.dll
AIConstraintAttribute(ConstraintKind, object)
Declares a constraint of the given kind. The value's kind is checked when ApplyTo(AIRequestOptions) runs, not here.
public AIConstraintAttribute(ConstraintKind type, object value)
Parameters
typeConstraintKindvalueobject
Exceptions
- ArgumentNullException
valueis null.