Microsoft.Bot.Builder.Dialogs.Internals.JObjectBotData Class Referenceabstract
Inheritance diagram for Microsoft.Bot.Builder.Dialogs.Internals.JObjectBotData:

Public Member Functions

 JObjectBotData (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

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

Protected Attributes

readonly IAddress botDataKey
 
readonly IBotDataStore< BotDatabotDataStore
 

Detailed Description

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Dialogs.Internals.JObjectBotData.JObjectBotData ( IAddress  botDataKey,
IBotDataStore< BotData botDataStore 
)
inline

Member Function Documentation

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

Flushes the bot data to IBotDataStore<T>

Parameters
cancellationTokenThe cancellation token.

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

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

Loads the bot data from IBotDataStore<T>

Parameters
cancellationTokenThe cancellation token.

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

override JObject Microsoft.Bot.Builder.Dialogs.Internals.JObjectBotData.MakeData ( )
inlineprotectedvirtual
abstract IBotDataBag Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.WrapData ( data)
protectedpure virtualinherited
override IBotDataBag Microsoft.Bot.Builder.Dialogs.Internals.JObjectBotData.WrapData ( JObject  data)
inlineprotected

Member Data Documentation

readonly IAddress Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.botDataKey
protectedinherited
readonly IBotDataStore<BotData> Microsoft.Bot.Builder.Dialogs.Internals.BotDataBase< T >.botDataStore
protectedinherited

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