C# Class UI.ViewModel.MessageViewModel

Inheritance: BaseViewModel
Afficher le fichier Open project: Nirklav/TCPChat Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
DisposeManagedResources ( ) : void

Private Methods

Méthode 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 méthode

protected DisposeManagedResources ( ) : void
Résultat void

MessageViewModel() public méthode

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

MessageViewModel() public méthode

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

MessageViewModel() public méthode

public MessageViewModel ( string systemMessage, RoomViewModel room ) : System
systemMessage string
room RoomViewModel
Résultat System