UNPKG

botbuilder-dialogs

Version:

A dialog stack based conversation manager for Microsoft BotBuilder.

36 lines 1.17 kB
/** * @module botbuilder-dialogs */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { MemoryScope } from './memoryScope'; import { DialogContext } from '../../dialogContext'; import { Dialog } from '../../dialog'; /** * ClassMemoryScope maps "class" -> dc.activeDialog.properties */ export declare class ClassMemoryScope extends MemoryScope { /** * Initializes a new instance of the [ClassMemoryScope](xref:botbuilder-dialogs.ClassMemoryScope) class. * * @param name Name of the scope class. */ constructor(name?: string); /** * 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; /** * Override to find the dialog instance referenced by the scope. * * @param dc Current dialog context. * @returns The dialog instance referenced by the scope. */ protected onFindDialog(dc: DialogContext): Dialog; } //# sourceMappingURL=classMemoryScope.d.ts.map