DieResult.Equals Method (Object)
From DiceRoller Documentation
Compare two DieResults and return whether or not they are equal. Overridden from Object.Equals(Object).
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public override bool Equals(
Object d
)
Parameters
- d
- Type: System.Object
- The DieResult to compare against.
Return Value
Type: System.Boolean
If d is an instance of DieResult, true
if d is equal to the current DieResult, and false
otherwise. If d is not an instance of DieResult, returns false
.
Remarks
This method calls Equals(DieResult) internally if d is a DieResult. See that method documentation for more information on how the comparison is performed.