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