Table of Contents

Namespace Microsoft.Agents.Builder

Classes

AgentExtension

Represents an opinionated base class for Agent Extensions.

ChannelAdapter

This is the base implementation of an IChannelAdapter.

ChannelServiceAdapterBase

An adapter that implements the Activity Protocol and can be hosted in different cloud environments both public and private.

RestChannelServiceClientFactory

A factory to create REST clients to interact with a Channel Service.

TurnContext

Provides context for a turn of an Agent.

TurnContextStateCollection

Values persisted for the lifetime of the turn as part of the ITurnContext.

Interfaces

IAgent

Represents an Agent that can receive incoming Activities.

IAgentExtension

Contract for Agent Extensions.

IChannelAdapter

Represents an Adapter that can connect an Agent to a service endpoint.

IChannelApiHandler

Handles requests received via the ChannelAPI endpoints exposed by a ChannelApi Controller.

IChannelServiceClientFactory

Handles creation of IConnectorClient and IUserTokenClient objects for use when handling incoming Activities.

IMiddleware

Represents middleware that can operate on incoming activities.

IMiddlewareSet
IStreamingResponse
ITurnContext

Provides context for a turn of an Agent.

ITurnContext<T>

Provides context for a turn of an Agent, where the context's Activity property is strongly typed.

Delegates

AgentCallbackHandler

The callback delegate for application code.

DeleteActivityHandler

A method that can participate in delete activity events for the current turn.

NextDelegate

Encapsulates an asynchronous method that calls the next IMiddleware.OnTurnAsync(ITurnContext, NextDelegate, CancellationToken) or IAgent.OnTurnAsync(ITurnContext, CancellationToken) method in the middleware pipeline.

SendActivitiesHandler

A method that can participate in send activity events for the current turn.

UpdateActivityHandler

A method that can participate in update activity events for the current turn.