botbuilder-dialogs
Version:
A dialog stack based conversation manager for Microsoft BotBuilder.
39 lines • 1.36 kB
TypeScript
/**
* @module botbuilder-dialogs
*/
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
import { MemoryScope } from './memoryScope';
import { DialogContext } from '../../dialogContext';
/**
* DialogMemoryScope maps "dialog" -> dc.parent.activeDialog.state || dc.activeDialog.state
*/
export declare class DialogMemoryScope extends MemoryScope {
/**
* Initializes a new instance of the [DialogMemoryScope](xref:botbuilder-dialogs.DialogMemoryScope) class.
*/
constructor();
/**
* Gets the backing memory for this scope.
*
* @param dc The [DialogContext](xref:botbuilder-dialogs.DialogContext) object for this turn.
* @returns The memory for the scope.
*/
getMemory(dc: DialogContext): object;
/**
* Changes the backing object for the memory scope.
*
* @param dc The [DialogContext](xref:botbuilder-dialogs.DialogContext) object for this turn.
* @param memory Memory object to set for the scope.
*/
setMemory(dc: DialogContext, memory: object): void;
/**
* @private
* @param dc The [DialogContext](xref:botbuilder-dialogs.DialogContext) object for this turn.
* @returns A boolean indicating whether is a cointainer or not.
*/
private isContainer;
}
//# sourceMappingURL=dialogMemoryScope.d.ts.map