C# Class UI.ViewModel.MessageViewModel

Inheritance: BaseViewModel
Datei anzeigen Open project: Nirklav/TCPChat Class Usage Examples

Public Methods

Method Description
MessageViewModel ( System.DateTime messageTime, string senderNick, FileId fileId, RoomViewModel roomVm ) : System
MessageViewModel ( long messageId, System.DateTime messageTime, string senderNick, string receiverNick, string message, bool isPrivate, RoomViewModel room ) : System
MessageViewModel ( string systemMessage, RoomViewModel room ) : System

Protected Methods

Method Description
DisposeManagedResources ( ) : void

Private Methods

Method Description
ClientDownloadProgress ( FileDownloadEventArgs e ) : void
ClientPostedFileDeleted ( FileDownloadEventArgs e ) : void
DownloadFile ( object obj ) : void
EditMessage ( object obj ) : void
GetFile ( ClientGuard client, FileId fileId ) : Engine.Model.Entities.FileDescription
MessageViewModel ( long messageId, RoomViewModel room, bool initializeNotifier ) : System

Method Details

DisposeManagedResources() protected method

protected DisposeManagedResources ( ) : void
return void

MessageViewModel() public method

public MessageViewModel ( System.DateTime messageTime, string senderNick, FileId fileId, RoomViewModel roomVm ) : System
messageTime System.DateTime
senderNick string
fileId FileId
roomVm RoomViewModel
return System

MessageViewModel() public method

public MessageViewModel ( long messageId, System.DateTime messageTime, string senderNick, string receiverNick, string message, bool isPrivate, RoomViewModel room ) : System
messageId long
messageTime System.DateTime
senderNick string
receiverNick string
message string
isPrivate bool
room RoomViewModel
return System

MessageViewModel() public method

public MessageViewModel ( string systemMessage, RoomViewModel room ) : System
systemMessage string
room RoomViewModel
return System