protected override void DisconnectData(Topic topic) { if (topic is TriggerTopic tt) { TopicsMap.RemoveTopic(tt.Path); } }
protected override Topic CreateTopic(int topicId, IList <string> topicInfo) { var path = topicInfo[0]; var topic = new TriggerTopic(this, topicId, path); TopicsMap.SetTopic(path, topic); return(topic); }