예제 #1
0
 public RetentionTimeAlignmentIndices(FileRetentionTimeAlignments alignments)
 {
     if (alignments != null)
     {
         foreach (var alignment in alignments.RetentionTimeAlignments.Values)
         {
             Add(new RetentionTimeAlignmentIndex(alignment));
         }
     }
 }
예제 #2
0
 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));
 }