public void BroadcastDownloadedEmoticonEvent(string message, Emoticons.Enumerations.EmoticonSource emoticonSource, string channelName) { Emoticons.EventHandlers.DownloadedEmoticonEventArgs e = new Emoticons.EventHandlers.DownloadedEmoticonEventArgs(); e.Message = message; e.EmoticonSource = emoticonSource; e.ChannelName = channelName; OnDownloadedEmoticon(this, e); }
protected void BroadcastFetchedEmoticonJsonEvent(string message, Emoticons.Enumerations.EmoticonSource emoticonSource, string channelName) { Emoticons.EventHandlers.FetchedEmoticonJsonEventArgs e = new Emoticons.EventHandlers.FetchedEmoticonJsonEventArgs(); e.Message = message; e.EmoticonSource = emoticonSource; e.ChannelName = channelName; OnFetchedEmoticonJson(this, e); }