コード例 #1
0
 public bool Matches(IliasFile other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Subfolders.SequenceEqual(other.Subfolders) &&
            Name == other.Name && Id == other.Id &&
            Url == other.Url);
 }
コード例 #2
0
 public bool Equals(IliasFile other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Subfolders.SequenceEqual(other.Subfolders) &&
            Name == other.Name && Id == other.Id &&
            Url == other.Url && Date.CompareTo(other.Date) == 0 &&
            LastModified.CompareTo(other.LastModified) == 0);
 }