Метод | Описание | |
---|---|---|
ChatSessionViewModel ( |
||
OnChatState ( agsXMPP chatState ) : void | ||
OnMessage ( |
Called when our account receives a message for us. Locks our messages in case we try to send one at the same time.
|
|
SendMessage ( ) : void |
Send a message to our target
|
|
TrySendMessage ( System.Windows.Input.KeyEventArgs keyArgs ) : void |
Used for 'Enter' keypress. Can't use SendMessage, because CanSendMessage returns false, disabling the textbox, and locking us out.
|
public ChatSessionViewModel ( |
||
account | ||
target | ||
Результат | System |
public OnChatState ( agsXMPP chatState ) : void | ||
chatState | agsXMPP | |
Результат | void |
public OnMessage ( |
||
message | The messages received from target | |
Результат | void |
public TrySendMessage ( System.Windows.Input.KeyEventArgs keyArgs ) : void | ||
keyArgs | System.Windows.Input.KeyEventArgs | |
Результат | void |