Equality Members
Generates two Equals methods and a GetHashCode override.
Selectable items: members to check for equality.
Options:
- Overload equality members — implements the overloads of the “==“ and “!=“ operators, so that they call the custom Equals method.
- Implement IEquatable<T> interface — adds the interface implementation to the target type.
Example
The screencast below shows how to use the Equality Members action in Declare Menu.