Class IntentShape
- Namespace
- IntentSharp.Catalog
- Assembly
- IntentSharp.Catalog.dll
How a result is shaped: text, a primitive, a compiled .NET type, or a JSON schema defined at run time.
public sealed class IntentShape
- Inheritance
-
objectIntentShape
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- IntentShape()
Creates a text shape.
Properties
- ClrType
For Clr: a type name resolvable through the runtime's type registry (simple name or assembly-qualified).
- Kind
text,primitive,clrorschema.
- Primitive
For Primitive: one of
string,int,long,double,decimal,bool,date,datetime,guid, or any of those followed by[]for a list.
- Text
A new text shape. Each call returns a new instance, because shapes are mutable and must not be shared.