public RetentionTimeAlignmentIndices(FileRetentionTimeAlignments alignments) { if (alignments != null) { foreach (var alignment in alignments.RetentionTimeAlignments.Values) { Add(new RetentionTimeAlignmentIndex(alignment)); } } }
public bool Equals(FileRetentionTimeAlignments other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(base.Equals(other) && Equals(other.RetentionTimeAlignments, RetentionTimeAlignments)); }