A
Failure can only be equal to another
Failure
with an equal
Code and
Message.
Namespace: DegreeDays.ApiAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public override bool Equals(
Object obj
)
Public Overrides Function Equals (
obj As Object
) As Boolean
Parameters
- obj Object
- The object to compare with this instance.
Return Value
Booleantrue if
obj is equal to this instance;
false otherwise.
Remarks Note that you might
sometimes want to compare just the codes for equality, like
failure1.Code.Equals(failure2.Code).
See Also