Exemple #1
0
 public void Merge(IEnumerable <ValidateFailure> failures)
 {
     if (!failures.IsEmptyOrNull())
     {
         Failures.AddRange(failures);
     }
 }
Exemple #2
0
 public void Report(Response <AccessControlChanges> response)
 {
     Failures.AddRange(response.Value.BatchFailures);
     if (response.Value.BatchFailures.Length > 0)
     {
         BatchFailures.Add(response.Value.BatchFailures);
     }
     BatchCounters.Add(response.Value.BatchCounters);
     CummulativeCounters.Add(response.Value.AggregateCounters);
 }