//Event Broadcasts private void BroadcastDownloadingEmoticonEvent(string message, Emoticons.Enumerations.EmoticonSource emoticonSource, string channelName) { Emoticons.EventHandlers.DownloadingEmoticonEventArgs e = new Emoticons.EventHandlers.DownloadingEmoticonEventArgs(); e.Message = message; e.EmoticonSource = emoticonSource; e.ChannelName = channelName; OnDownloadingEmoticon(this, e); }
protected virtual void OnDownloadingEmoticon(object sender, Emoticons.EventHandlers.DownloadingEmoticonEventArgs e) { DownloadingEmoticon?.Invoke(this, e); }