public override int GetHashCode() { var hashCode = -1510201480; hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(Group); hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(Log); hashCode = (hashCode * -1521134295) + Count.GetHashCode(); hashCode = (hashCode * -1521134295) + IncludeDeleted.GetHashCode(); hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(SearchQuery); hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(Message); hashCode = (hashCode * -1521134295) + EqualityComparer <DateTime?> .Default.GetHashCode(StartDate); hashCode = (hashCode * -1521134295) + EqualityComparer <DateTime?> .Default.GetHashCode(EndDate); hashCode = (hashCode * -1521134295) + EqualityComparer <Guid?> .Default.GetHashCode(StartAt); hashCode = (hashCode * -1521134295) + EqualityComparer <Guid?> .Default.GetHashCode(Id); hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(Url); hashCode = (hashCode * -1521134295) + EqualityComparer <string> .Default.GetHashCode(Host); return((hashCode * -1521134295) + Sort.GetHashCode()); }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (SelectedSource != null ? SelectedSource.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Files != null ? Files.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IncludeMediaInfo.GetHashCode(); hashCode = (hashCode * 397) ^ IsRecursive.GetHashCode(); hashCode = (hashCode * 397) ^ IncludeDeleted.GetHashCode(); hashCode = (hashCode * 397) ^ (ToPath != null ? ToPath.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DisplayName != null ? DisplayName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsFilesSelected.GetHashCode(); hashCode = (hashCode * 397) ^ IsFoldersSelected.GetHashCode(); hashCode = (hashCode * 397) ^ IsFilesAndFoldersSelected.GetHashCode(); return(hashCode); } }