Example #1
0
 public static void RegisterDownloadObject(DownloadObject obj)
 {
     lock (registerDownloadObjects)
     {
         registerDownloadObjects.RemoveAll(m =>
         {
             if (m.url == obj.url)
             {
                 m.Finish();
                 return(true);
             }
             else
             {
                 return(false);
             }
         });
         registerDownloadObjects.Add(obj);
     }
 }
Example #2
0
 public CefResponseFilter(DownloadObject downloadObject)
 {
     this.downloadObject = downloadObject;
 }