Język

DialogManager Klasa

Definicja

Uwaga

This class will be deprecated in the next version of the Bot Framework SDK.

Klasa, która uruchamia system dialogowy.

[System.Obsolete("This class will be deprecated in the next version of the Bot Framework SDK.")]
public class DialogManager
[<System.Obsolete("This class will be deprecated in the next version of the Bot Framework SDK.")>]
type DialogManager = class
Public Class DialogManager
Dziedziczenie
DialogManager
Atrybuty

Konstruktory

Nazwa Opis
DialogManager(Dialog, String)
Przestarzałe.

Inicjuje nowe wystąpienie klasy DialogManager.

Właściwości

Nazwa Opis
ConversationState
Przestarzałe.

Otrzymuje lub ustawia ConversationState (Stan rozmowy).

Dialogs
Przestarzałe.

Pobiera lub ustawia globalne dialogi, które chcesz, aby były wywoływalne.

ExpireAfter
Przestarzałe.

Otrzymuje lub ustawia (opcjonalnie) liczbę milisekund, po której wygasa stan bota.

InitialTurnState
Przestarzałe.

Zbiera kolekcję InitialTurnState, aby kopiowała ją do TurnState przy każdej turze.

RootDialog
Przestarzałe.

Pobiera lub ustawia dialog podstawowy, aby rozpocząć rozmowę.

StateConfiguration
Przestarzałe.

Pobiera lub ustawia DialogStateManagerConfiguration.

UserState
Przestarzałe.

Otrzymuje lub ustawia UserState.

Metody

Nazwa Opis
OnTurnAsync(ITurnContext, CancellationToken)
Przestarzałe.

Uruchamia system dialogowy w kontekście elementu ITurnContext.

Metody rozszerzania

Nazwa Opis
UseLanguageGeneration(DialogManager, LanguageGenerator)
Przestarzałe.

Zarejestruj ILanguageGenerator jako domyślny generator języka.

UseLanguageGeneration(DialogManager, String)
Przestarzałe.

Zarejestruj domyślny plik LG jako generowanie języka.

UseLanguagePolicy(DialogManager, LanguagePolicy)
Przestarzałe.

Zarejestruj politykę językową jako politykę domyślną.

UseResourceExplorer(DialogManager, ResourceExplorer)
Przestarzałe.

Zarejestruj ResourceExplorer i opcjonalnie rejestruj więcej typów.

UseTelemetry(DialogManager, IBotTelemetryClient)
Przestarzałe.

Zarejestruj IBotTelemetryClient jako domyślny generator języka.

Dotyczy