Example #1
0
 public void BroadcastCreatedChatFileEvent(string message, string filePath)
 {
     Chat.EventHandlers.CreatedChatFileEventArgs e = new Chat.EventHandlers.CreatedChatFileEventArgs();
     e.Message  = message;
     e.FilePath = filePath;
     OnCreatedChatFile(this, e);
 }
Example #2
0
 protected virtual void OnCreatedChatFile(object sender, Chat.EventHandlers.CreatedChatFileEventArgs e)
 {
     CreatedChatFile?.Invoke(this, e);
 }