Documentation
Table of Contents

Class IntentDataContextSource

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

Sends the requested intent's own result shape and examples with every request, as items of kind Data: result-shape, the shape as an intent file writes it, and examples, the worked examples, when the intent has any.

public sealed class IntentDataContextSource : ISpecialistContextSource
Inheritance
object
IntentDataContextSource
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

IntentDataContextSource()

Creates the source.

Methods

GetContextAsync(IntentDefinition, CancellationToken)

Returns the items to send with a request for definition; an empty list sends none.