Documentation
Table of Contents

Class CommandPlan

Namespace
IntentSharp.Targets
Assembly
IntentSharp.dll

A command the model planned for a target: the command, its parameters and the model's explanation, plus what the runtime found when it inspected the command. Check it with CheckAsync(CommandPlan, CancellationToken) and run it with ExecuteAsync(CommandPlan, CancellationToken); a plan you build yourself is checked the same way.

public sealed class CommandPlan
Inheritance
object
CommandPlan
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

CommandPlan()

Creates an empty plan, which holds no command.

Properties

Command

The command, in the shape the target's CommandSchema declares; null, or empty text, when the model gave none, typically because the request cannot be answered from the description. A plan with no command is refused: nothing was checked.

Entities

The entities the command touches, set by the runtime from the target's inspection; empty until then.

Explanation

The model's explanation of the command, or of why it gave none; null for none.

Language

The target's command language, set by the runtime from the description; empty until then.

Parameters

The parameter values the command uses, by the name the command gives them.