C# Class core.TableStoreEntities.ChatMessage

Inheritance: Microsoft.WindowsAzure.Storage.Table.TableEntity
Show file Open project: Pure-Battlefield/gswat Class Usage Examples

Public Methods

Method Description
ChatMessage ( ) : System

Construct an empty ChatMessage object MessageTimeStamp will be initiated to a default DateTime() Speaker and text will be empty strings

ChatMessage ( System.DateTime time, String speaker, String text, String messageType ) : System

Construct a ChatMessage object with predefined fields Any null parameters will be initialized to empty strings or a default DateTime() object

ToString ( ) : String

Fetch a preformatted output version of this ChatMessage

Method Details

ChatMessage() public method

Construct an empty ChatMessage object MessageTimeStamp will be initiated to a default DateTime() Speaker and text will be empty strings
public ChatMessage ( ) : System
return System

ChatMessage() public method

Construct a ChatMessage object with predefined fields Any null parameters will be initialized to empty strings or a default DateTime() object
public ChatMessage ( System.DateTime time, String speaker, String text, String messageType ) : System
time System.DateTime MessageTimeStamp of the ChatMessage
speaker String Speaker of the ChatMessage
text String Full text of the ChatMessage
messageType String MessageType of the ChatMessage
return System

ToString() public method

Fetch a preformatted output version of this ChatMessage
public ToString ( ) : String
return String