Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T > Class Template Referenceabstract
Inheritance diagram for Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >:

Public Member Functions

 BotDataBase (IAddress botDataKey, IBotDataStore< BotData > botDataStore)
 
async Task FlushAsync (CancellationToken cancellationToken)
 Flushes the bot data to IBotDataStore<T> More...
 
async Task LoadAsync (CancellationToken cancellationToken)
 Loads the bot data from IBotDataStore<T> More...
 

Protected Member Functions

abstract T MakeData ()
 
abstract IBotDataBag WrapData (T data)
 

Protected Attributes

readonly IAddress botDataKey
 
readonly IBotDataStore< BotDatabotDataStore
 

Detailed Description

Constructor & Destructor Documentation

Member Function Documentation

async Task Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.FlushAsync ( CancellationToken  cancellationToken)
inline

Flushes the bot data to IBotDataStore<T>

Parameters
cancellationTokenThe cancellation token.

Implements Microsoft.Bot.Builder.Dialogs.Internals.IBotData.

Definition at line 503 of file Microsoft.Bot.Builder/ConnectorEx/BotData.cs.

async Task Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.LoadAsync ( CancellationToken  cancellationToken)
inline

Loads the bot data from IBotDataStore<T>

Parameters
cancellationTokenThe cancellation token.

Implements Microsoft.Bot.Builder.Dialogs.Internals.IBotData.

Definition at line 492 of file Microsoft.Bot.Builder/ConnectorEx/BotData.cs.

abstract T Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.MakeData ( )
protectedpure virtual
abstract IBotDataBag Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.WrapData ( data)
protectedpure virtual

Member Data Documentation


The documentation for this class was generated from the following file: