public bool Matches(IliasFile other) { if (other == null) { return(false); } return(Subfolders.SequenceEqual(other.Subfolders) && Name == other.Name && Id == other.Id && Url == other.Url); }
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); }