public void Merge(IEnumerable <ValidateFailure> failures) { if (!failures.IsEmptyOrNull()) { Failures.AddRange(failures); } }
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); }