예제 #1
0
 public void Process(WatchedEvent @event)
 {
     switch (@event.Type)
     {
     case EventType.NodeChildrenChanged:
     {
         node.LoadLiveFeed();
         Logger.GetLogger(node.BaseUrl).Info("detected feed node change");
         break;
     }
     }
 }
예제 #2
0
 public void Process(WatchedEvent @event)
 {
     switch (@event.Type)
     {
     case EventType.NodeChildrenChanged:
     {
         node.LoadLiveFeed();
         Console.WriteLine("detected feed node change");
         break;
     }
     }
 }
예제 #3
0
            public override Task process(WatchedEvent @event)
            {
                switch (@event.get_Type())
                {
                case EventType.NodeChildrenChanged:
                {
                    node.LoadLiveFeed();
                    Logger.GetLogger(node.BaseUrl).Info("detected feed node change");
                    break;
                }
                }

                return(Task.CompletedTask);
            }