public override int GetHashCode() { unchecked { int hashCode = Title?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (VertexType?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (TargetType?.GetHashCode() ?? 0); return(hashCode); } }