Share via


BotAssert Klasse

Definition

Stellt Methoden zum Debuggen von Bot Builder-Code bereit.

public class BotAssert
type BotAssert = class
Public Class BotAssert
Vererbung
BotAssert

Konstruktoren

BotAssert()

Stellt Methoden zum Debuggen von Bot Builder-Code bereit.

Methoden

ActivityListNotNull(IEnumerable<Activity>)

Überprüft, ob eine Aktivitätsauflistung nicht nullist.

ActivityNotNull(IActivity)

Überprüft, ob ein Aktivitätsobjekt nicht nullist.

ContextNotNull(ITurnContext)

Überprüft, ob ein Kontextobjekt nicht nullist.

ConversationReferenceNotNull(ConversationReference)

Überprüft, ob ein Unterhaltungsverweisobjekt nicht nullist.

MiddlewareNotNull(IEnumerable<IMiddleware>)

Überprüft, ob eine Middlewaresammlung nicht nullist.

MiddlewareNotNull(IMiddleware)

Überprüft, ob ein Middlewareobjekt nicht nullist.

Gilt für: