private void BroadcastErrorOccuredCreatingChatFileEvent(string message) { Chat.EventHandlers.ErrorOccuredCreatingChatFileEventArgs e = new Chat.EventHandlers.ErrorOccuredCreatingChatFileEventArgs(); e.Message = message; OnErrorOccuredCreatingChatFile(this, e); }
protected virtual void OnErrorOccuredCreatingChatFile(object sender, Chat.EventHandlers.ErrorOccuredCreatingChatFileEventArgs e) { ErrorOccuredCreatingChatFile?.Invoke(this, e); }