public TM_WebServices_Configured(Uri websiteUrl)
 {
     this.Url = websiteUrl.append(WEBSERVICES_PATH).str();
     this.CookieContainer =  new System.Net.CookieContainer();
 }
 public static Uri append_To(this string value, Uri target)
 {
     return target.append(value);
 }
示例#3
0
 public static bool serverOnline(this TM_QA_Config tmQaConfig, Uri targetServer)
 {
     if (targetServer.notNull())
     {
         if (TM_QA_Config.Force_Server_Offline)
             return false;
         return targetServer.append("default.htm")
                            .HEAD();
     }
     return false;
 }
 public static Uri append_FileName_To(this string fullPath, Uri uri)
 {
     return uri.append(fullPath.fileName());
 }