Microsoft.Bot.Connector.BotData Class Reference

Public Member Functions

 BotData ()
 Initializes a new instance of the BotData class. More...
 
 BotData (string eTag=default(string), object data=default(object))
 Initializes a new instance of the BotData class. More...
 
TypeT GetProperty< TypeT > (string property)
 Get a property from a BotData recorded retrieved using the REST API More...
 
void RemoveProperty (string property)
 Remove a property from the BotData record More...
 
void SetProperty< TypeT > (string property, TypeT data)
 Set a property on a BotData record retrieved using the REST API More...
 

Properties

object Data [get, set]
 
string ETag [get, set]
 

Detailed Description

Definition at line 8 of file BotDataEx.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.BotData.BotData ( )
inline

Initializes a new instance of the BotData class.

Definition at line 19 of file Microsoft.Bot.Connector.Shared/StateAPI/Models/BotData.cs.

Microsoft.Bot.Connector.BotData.BotData ( string  eTag = default(string),
object  data = default(object) 
)
inline

Initializes a new instance of the BotData class.

Definition at line 24 of file Microsoft.Bot.Connector.Shared/StateAPI/Models/BotData.cs.

Member Function Documentation

TypeT Microsoft.Bot.Connector.BotData.GetProperty< TypeT > ( string  property)
inline

Get a property from a BotData recorded retrieved using the REST API

Parameters
propertyproperty name to change
Returns
property requested or default for type

Definition at line 15 of file BotDataEx.cs.

void Microsoft.Bot.Connector.BotData.RemoveProperty ( string  property)
inline

Remove a property from the BotData record

Parameters
propertyproperty name to remove

Definition at line 50 of file BotDataEx.cs.

void Microsoft.Bot.Connector.BotData.SetProperty< TypeT > ( string  property,
TypeT  data 
)
inline

Set a property on a BotData record retrieved using the REST API

Parameters
propertyproperty name to change
datanew data

Definition at line 34 of file BotDataEx.cs.

Property Documentation

object Microsoft.Bot.Connector.BotData.Data
getset
string Microsoft.Bot.Connector.BotData.ETag
getset

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