Ejemplo n.º 1
0
 public void Process(WatchedEvent @event)
 {
     switch (@event.Type)
     {
     case EventType.NodeChildrenChanged:
     {
         node.LoadLiveCrawler();
         Console.WriteLine("detected crawler node change");
         break;
     }
     }
 }
Ejemplo n.º 2
0
 public void Process(WatchedEvent @event)
 {
     switch (@event.Type)
     {
     case EventType.NodeChildrenChanged:
     {
         node.LoadLiveCrawler();
         Logger.GetLogger(node.BaseUrl).Info("detected crawler node change");
         break;
     }
     }
 }
Ejemplo n.º 3
0
            public override Task process(WatchedEvent @event)
            {
                switch (@event.get_Type())
                {
                case EventType.NodeChildrenChanged:
                {
                    node.LoadLiveCrawler();
                    Logger.GetLogger(node.BaseUrl).Info("detected crawler node change");
                    break;
                }
                }

                return(Task.CompletedTask);
            }