/// <summary> /// Returns a hash code for this instance. /// </summary> public override int GetHashCode() { unchecked { int hash = 17; if (SourceNode != null) { hash = hash * 92821 + SourceNode.GetHashCode( ); } hash = hash * 92821 + IsClose.GetHashCode( ); return(hash); } }
public override int GetHashCode() => (SourceNode.GetHashCode() * 17 + TargetNode.GetHashCode()) * 17 + Weight.GetHashCode();
public override int GetHashCode() { return(SourceNode.GetHashCode() + 31 * EventType.GetHashCode()); }