Méthode | 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
|
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 |
Résultat | System |