Share via


MiddlewareSet Class

Definition

Contains an ordered set of IMiddleware.

public class MiddlewareSet : Microsoft.Bot.Builder.IMiddleware, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.IMiddleware>
type MiddlewareSet = class
    interface IMiddleware
    interface seq<IMiddleware>
    interface IEnumerable
Public Class MiddlewareSet
Implements IEnumerable(Of IMiddleware), IMiddleware
Inheritance
MiddlewareSet
Implements

Constructors

MiddlewareSet()

Methods

GetEnumerator()

Gets an enumerator that iterates over a collection of implementations of IMiddleware objects.

OnTurnAsync(ITurnContext, NextDelegate, CancellationToken)

Processes an incoming activity.

ReceiveActivityWithStatusAsync(ITurnContext, BotCallbackHandler, CancellationToken)

Processes an activity.

Use(IMiddleware)

Adds a middleware object to the end of the set.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to