Documentation
Table of Contents

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
object
IntentShape
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, clr or schema.

Primitive

For Primitive: one of string, int, long, double, decimal, bool, date, datetime, guid, or any of those followed by [] for a list.

Schema

For Schema: a JSON schema for the result value.

Text

A new text shape. Each call returns a new instance, because shapes are mutable and must not be shared.