Class TargetContextSource
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
Sends what a target looks like with every request, as one item of kind Data named after the target: its command language and its entities, with each entity's kind, operations and fields. The target's DescribeAsync(TargetContext, CancellationToken) is called directly, which runs no model and passes no checkpoint; the properties of the description, its entities and its fields are not sent.
public sealed class TargetContextSource : ISpecialistContextSource
- Inheritance
-
objectTargetContextSource
- Implements
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- TargetContextSource(ITarget)
Creates the source.
Properties
- Target
The target described.
Methods
- GetContextAsync(IntentDefinition, CancellationToken)
Returns the items to send with a request for
definition; an empty list sends none.