Documentation
Table of Contents

Class SpecialistOffer

Namespace
IntentSharp.Specialist
Assembly
IntentSharp.Specialist.dll

What a specialist service hands back: the intent definition to run and how to reach the specialist that runs it. Set exactly one of Provider (a provider the service adapter built) and ProviderName (a provider already configured on the client); a SpecialistRuntime refuses an offer that sets both or neither.

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

Constructors

SpecialistOffer()

Creates an empty offer; set Definition and one way to reach the specialist.

Properties

Definition

The definition to run for the intent. Required. It is judged against the requested one before it runs.

Info

Facts about the specialist, or null when the service gives none.

Model

The model to ask the provider for, or null for the definition's model, else the provider's default.

Provider

The specialist as a provider the service adapter built. Runs reach it through the SpecialistRouter given to the runtime, which the client must be able to reach by name. Null when ProviderName is set.

ProviderName

The name of a provider already configured on the client that runs the specialist. Null when Provider is set.