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