Method Equals
Equals(object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current instance. |
Returns
| Type |
Description |
| bool |
true if obj and this instance are the same type and represent the same value; otherwise, false. |
Overrides
Equals(Durability)
Returns a value indicating whether the value of this instance is
equal to the value of the specified
Durability
instance.
Declaration
public bool Equals(Durability value)
Parameters
| Type |
Name |
Description |
| Durability |
value |
The value to compare to this instance. |
Returns
| Type |
Description |
| bool |
true if the value equals the value of
this instance, otherwise false. |
Implements