DialogTestClient Class

Definition

A client to for testing dialogs in isolation.

public class DialogTestClient
type DialogTestClient = class
Public Class DialogTestClient
Inheritance
DialogTestClient

Constructors

DialogTestClient(String, Dialog, Object, IEnumerable<IMiddleware>, ConversationState)

Initializes a new instance of the DialogTestClient class.

DialogTestClient(TestAdapter, Dialog, Object, IEnumerable<IMiddleware>, ConversationState)

Initializes a new instance of the DialogTestClient class.

Properties

ConversationState

Gets the latest ConversationState for DialogTestClient.

DialogContext

Gets a reference for the DialogContext.

DialogTurnResult

Gets the latest DialogTurnResult for the dialog being tested.

Methods

GetNextReply<T>()

Gets the next bot response.

SendActivityAsync<T>(Activity, CancellationToken)

Sends an Activity to the target dialog.

SendActivityAsync<T>(String, CancellationToken)

Sends a message activity to the target dialog.

Applies to