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