Exemple #1
0
 public static ValidationResult ValidateTASUrl(object data)
 {
     var holder = new MPEServicesHolder(null, (string)data);
     return holder.HasTASConnection ? ValidationResult.Success : new ValidationResult("Failed to access service");
 }
Exemple #2
0
 public static void SetConnectionUrls(string mas, string tas)
 {
     holder = new MPEServicesHolder(mas, tas);
 }
Exemple #3
0
        public static ValidationResult ValidateMASUrl(object data)
        {
            var holder = new MPEServicesHolder((string)data, null);

            return(holder.HasMASConnection ? ValidationResult.Success : new ValidationResult("Failed to access service"));
        }