private void Deactivate()
 {
     if (null == topicSourceUpdater) return; // already deactive
     topicPath = null;
     topicSourceUpdater = null;
     OnDeactivated();
 }
예제 #2
0
 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();
 }
예제 #4
0
 private void Deactivate()
 {
     if (null == topicSourceUpdater)
     {
         return;                             // already deactive
     }
     topicPath          = null;
     topicSourceUpdater = null;
     OnDeactivated();
 }