UNPKG

botbuilder-dialogs-adaptive

Version:

Rule system for the Microsoft BotBuilder dialog system.

28 lines 1.08 kB
"use strict"; /** * @module botbuilder-dialogs-adaptive */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CancelAllDialogs = void 0; const cancelAllDialogsBase_1 = require("./cancelAllDialogsBase"); /** * Command to cancel all of the current [Dialogs](xref:botbuilder-dialogs.Dialog) by emitting an event that must be caught to prevent cancellation from propagating. */ class CancelAllDialogs extends cancelAllDialogsBase_1.CancelAllDialogsBase { /** * Initializes a new instance of the [CancelAllDialogs](xref:botbuilder-dialogs-adaptive.CancelAllDialogs) class. * * @param eventName Optional. Expression for event name. * @param eventValue Optional. Expression for event value. */ constructor(eventName, eventValue) { super(eventName, eventValue, true); } } exports.CancelAllDialogs = CancelAllDialogs; CancelAllDialogs.$kind = 'Microsoft.CancelAllDialogs'; //# sourceMappingURL=cancelAllDialogs.js.map