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