public void OnMessageQueuedForReceive(MessageEventArgs messageEventArgs) { var action = MessageQueuedForReceive; if (action != null) action(this, messageEventArgs); }
public void OnMessageReceived(MessageEventArgs messageEventArgs) { var action = MessageReceived; if (action != null) action(this, messageEventArgs); }
public void OnMessageSent(MessageEventArgs messageEventArgs) { var action = MessageSent; if (action != null) action(this, messageEventArgs); }