Class TargetCommand
- Namespace
- IntentSharp.Targets
- Assembly
- IntentSharp.dll
A command the model planned, as the runtime hands it to InspectAsync(TargetCommand, TargetContext, CancellationToken): the command itself, its parameters and the model's explanation.
public sealed class TargetCommand
- Inheritance
-
objectTargetCommand
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- TargetCommand()
Creates a command; set at least Command.
Properties
- Command
The command, in the shape CommandSchema declares: a JSON string for a command written as text, or the JSON value the target's schema describes.
- Explanation
The model's explanation of the command; null for none.
- Parameters
The parameter values the model supplied, by the name the command uses, already decoded from JSON. The target binds them.