private void Deactivate() { if (null == topicSourceUpdater) return; // already deactive topicPath = null; topicSourceUpdater = null; OnDeactivated(); }
public void OnActive(string topicPath, IRegisteredHandler registeredHandler, ITopicSourceUpdater topicSourceUpdater) { Log.Spew("Topic Active: \"" + topicPath + "\" (" + this.GetType().Name + ")"); this.topicPath = topicPath; this.topicSourceUpdater = topicSourceUpdater; UpdateContent(CreateInitialContent()); OnActivated(); }
public void OnActive(string topicPath, IRegisteredHandler registeredHandler, ITopicSourceUpdater topicSourceUpdater) { Log.Spew("Topic Active: \"" + topicPath + "\" (" + this.GetType().Name + ")"); this.topicPath = topicPath; this.topicSourceUpdater = topicSourceUpdater; UpdateContent(CreateInitialContent()); OnActivated(); }
private void Deactivate() { if (null == topicSourceUpdater) { return; // already deactive } topicPath = null; topicSourceUpdater = null; OnDeactivated(); }