public void Process(WatchedEvent @event) { switch (@event.Type) { case EventType.NodeChildrenChanged: { node.LoadLiveExtractor(); Logger.GetLogger(node.BaseUrl).Info("detected Extractor node change"); break; } } }
public override Task process(WatchedEvent @event) { switch (@event.get_Type()) { case EventType.NodeChildrenChanged: { node.LoadLiveExtractor(); Logger.GetLogger(node.BaseUrl).Info("detected Extractor node change"); break; } } return(Task.CompletedTask); }