protected virtual void OnSuccess(TopicEventArgs e) { var handler = Success; if (null == handler) { return; } handler(this, e); }
private void addTopicHandler_Success(object sender, Handlers.TopicEventArgs e) { // At least one of our topics has been added. Log.Spew("Topic Added: \"" + e.TopicPath + "\""); while (topicPathsPendingAddition.Remove(e.TopicPath)) { ; } if (0 == topicPathsPendingAddition.Count) { AddTopicSources(); } }
protected virtual void OnSuccess(TopicEventArgs e) { var handler = Success; if (null == handler) return; handler(this, e); }