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
-
objectIntentExtensions
- 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
nameoninputwithruntimeand returns the verified result as JSON.
- RunIntentAsync(object?, string, CancellationToken)
Runs the intent
namewith the ambient runtime (see IntentScope) and returns the verified result as JSON.
- RunIntentAsync<T>(object?, IntentRuntime, string, CancellationToken)
Runs the intent
nameoninputwithruntimeand returns a verifiedT.
- RunIntentAsync<T>(object?, string, CancellationToken)
Runs the intent
namewith the ambient runtime (see IntentScope) and returns a verifiedT.