Documentation
Table of Contents

Class IntentExtensions

Namespace
IntentSharp.Catalog
Assembly
IntentSharp.Catalog.dll

Runs a catalog intent on any value: value.RunIntentAsync<T>(runtime, "Name"), or value.RunIntentAsync<T>("Name") inside runtime.AsAmbient(). The code names the behaviour; the file defines it.

public static class IntentExtensions
Inheritance
object
IntentExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()

Methods

RunIntentAsync(object?, IntentRuntime, string, CancellationToken)

Runs the intent name on input with runtime and returns the verified result as JSON.

RunIntentAsync(object?, string, CancellationToken)

Runs the intent name with the ambient runtime (see IntentScope) and returns the verified result as JSON.

RunIntentAsync<T>(object?, IntentRuntime, string, CancellationToken)

Runs the intent name on input with runtime and returns a verified T.

RunIntentAsync<T>(object?, string, CancellationToken)

Runs the intent name with the ambient runtime (see IntentScope) and returns a verified T.