コード例 #1
0
 public TM_WebServices_Configured(Uri websiteUrl)
 {
     this.Url = websiteUrl.append(WEBSERVICES_PATH).str();
     this.CookieContainer =  new System.Net.CookieContainer();
 }
コード例 #2
0
 public static Uri append_To(this string value, Uri target)
 {
     return target.append(value);
 }
コード例 #3
0
ファイル: TM_QA_Config.cs プロジェクト: TeamMentor/Dev
 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;
 }
コード例 #4
0
 public static Uri append_FileName_To(this string fullPath, Uri uri)
 {
     return uri.append(fullPath.fileName());
 }