Inheritance: IWorker
コード例 #1
0
ファイル: TestHelper.cs プロジェクト: ndubul/Chillas
 public static HttpWebResponse GetResponseFromServer(string path)
 {
     GetWorker target = new GetWorker(path);
     target.DoWork();
     return target.GetResponse();
 }
コード例 #2
0
ファイル: TestHelper.cs プロジェクト: ndubul/Chillas
        private static bool ExecuteGetWorker(string url)
        {
            GetWorker target = new GetWorker(url);
            target.DoWork();
            _responseData = target.GetResponseData();

            return target.WasHTTPS;
        }