Esempio n. 1
0
 public Thread GetThread(string url)
 {
     Url2ch url2ch = new Url2ch(url);
     Thread foundThread = Threads.FirstOrDefault(thread => thread.Url.Equals(url));
     if (foundThread != null)
     {
         return foundThread;
     }
     else
     {
         Thread newThread = new Thread(url, this);
         Threads.Add(newThread);
         return newThread;
     }
 }
Esempio n. 2
0
 public Thread(string url, Jane2ch jane)
 {
     Url = new Url2ch(url);
     this.jane = jane;
 }