Example #1
0
 public void Start()
 {
     for (int i = Begin; i < End; ++i)
     {
         to_.OnNewUrl(string.Format("http://www.peise.net/palette/{0}.html", i));
     }
 }
Example #2
0
 public void OnNewUrl(string url)
 {
     if (IsStart)
     {
         to_?.OnNewUrl(url + "hehe");
     }
 }
Example #3
0
 private void Method()
 {
     while (true)
     {
         to_.OnNewUrl("https://coding.net/u/zapline/p/cozy/git" + DateTime.Now.ToLongTimeString());
         Thread.Sleep(1000);
     }
 }
Example #4
0
 public void Start()
 {
     if (to_ != null)
     {
         foreach (var url in Urls)
         {
             to_.OnNewUrl(url);
         }
     }
 }
Example #5
0
 public void OnNewUrl(string url)
 {
     to_?.OnNewUrl(url);
 }