示例#1
0
 /// <summary>
 /// Compares the <see cref="OrderField"/> object equality against the given target object.
 /// </summary>
 /// <param name="other">The object to be compared to the current object.</param>
 /// <returns>True if the instances are equal.</returns>
 public bool Equals(OrderField other)
 {
     return(other?.GetHashCode() == GetHashCode());
 }
示例#2
0
 /// <summary>
 /// Compares the <see cref="OrderField"/> object equality against the given target object.
 /// </summary>
 /// <param name="other">The object to be compared to the current object.</param>
 /// <returns>True if the instances are equal.</returns>
 public bool Equals(OrderField other) =>
 other?.GetHashCode() == GetHashCode();