public override int GetHashCode() { var hashcode = (Title?.GetHashCode() ?? 0) ^ (SubTitle?.GetHashCode() ?? 0); return(hashcode); }
public override int GetHashCode() { // Using Ordinal since this is used internally var hashcode = (Title?.GetHashCode(StringComparison.Ordinal) ?? 0) ^ (SubTitle?.GetHashCode(StringComparison.Ordinal) ?? 0); return(hashcode); }
public override int GetHashCode() { int hash1 = PluginID?.GetHashCode() ?? 0; int hash2 = Title?.GetHashCode() ?? 0; int hash3 = SubTitle?.GetHashCode() ?? 0; int hashcode = hash1 ^ hash2 ^ hash3; return(hashcode); }
public override int GetHashCode() { unchecked { var hashCode = (int)KindOfWork; hashCode = (hashCode * 397) ^ (AcademicDiscipline != null ? AcademicDiscipline.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SubTitle != null ? SubTitle.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Theme != null ? Theme.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Liefert den Hashcode dieser Instanz. /// </summary> /// <returns>Der Hashcode der Instanz.</returns> public override int GetHashCode() { return(Title.GetHashCode() ^ SubTitle.GetHashCode() ^ ID.GetHashCode() ^ Links.GetHashCode() ^ Generator.GetHashCode() ^ Logo.GetHashCode() ^ Authors.GetHashCode() ^ Copyrights.GetHashCode() ^ Published.GetHashCode() ^ Language.GetHashCode() ^ Articles.GetHashCode()); }
public override int GetHashCode() { return(Id.GetHashCode() ^ SubTitle.GetHashCode() ^ Desc.GetHashCode() ^ Active.GetHashCode() ^ ActiveDateTime.GetHashCode()); }