Microsoft.Bot.Connector.Entity Class Reference

Object of schema.org types More...

Inheritance diagram for Microsoft.Bot.Connector.Entity:

Public Member Functions

 Entity ()
 Initializes a new instance of the Entity class. More...
 
 Entity (string type=default(string))
 Initializes a new instance of the Entity class. More...
 
GetAs< T > ()
 Retrieve internal payload. More...
 
void SetAs< T > (T obj)
 Set internal payload. More...
 

Properties

JObject Properties [get, set]
 
string Type [get, set]
 Entity Type (typically from schema.org types) More...
 

Detailed Description

Object of schema.org types

Definition at line 17 of file Entity.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Connector.Entity.Entity ( )
inline

Initializes a new instance of the Entity class.

Definition at line 22 of file Entity.cs.

Microsoft.Bot.Connector.Entity.Entity ( string  type = default(string))
inline

Initializes a new instance of the Entity class.

Definition at line 27 of file Entity.cs.

Member Function Documentation

T Microsoft.Bot.Connector.Entity.GetAs< T > ( )
inline

Retrieve internal payload.

Template Parameters
T
Returns

Definition at line 21 of file EntityEx.cs.

void Microsoft.Bot.Connector.Entity.SetAs< T > ( obj)
inline

Set internal payload.

Template Parameters
T
Parameters
obj

Definition at line 31 of file EntityEx.cs.

Property Documentation

JObject Microsoft.Bot.Connector.Entity.Properties
getset

Definition at line 14 of file EntityEx.cs.

string Microsoft.Bot.Connector.Entity.Type
getset

Entity Type (typically from schema.org types)

Definition at line 36 of file Entity.cs.


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