protected virtual bool Equals(LibraryHierarchy other) { if (!base.Equals(other)) { return(false); } if (this.Sequence != other.Sequence) { return(false); } if (!string.Equals(this.Name, other.Name, StringComparison.OrdinalIgnoreCase)) { return(false); } if (this.Type != other.Type) { return(false); } if (this.Enabled != other.Enabled) { return(false); } return(true); }
public LibraryHierarchyCacheKey(LibraryHierarchy libraryHierarchy, LibraryHierarchyNode libraryHierarchyNode, string filter) { this.LibraryHierarchy = libraryHierarchy; this.LibraryHierarchyNode = libraryHierarchyNode; this.Filter = filter; }