コード例 #1
0
 /**
  * Method that will join the errors found of two ValidationOutput objects
  */
 public bool Join(ValidationOutput other)
 {
     if (!other.GetType().Equals(this.GetType()))
     {
         return(false);
     }
     foreach (var key in other.FoundErrors.Keys.ToList())
     {
         FoundErrors.Add(key, other.FoundErrors[key]);
     }
     return(true);
 }