< Dice | RollResult
Difference between revisions of "Dice/RollResult/Equals (RollResult)"
From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.Equals Method (RollResult)}} Compare two RollResults and return whether or not they are equal. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public vir...") |
(No difference)
|
Latest revision as of 17:31, 25 April 2017
Compare two RollResults and return whether or not they are equal.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public virtual bool Equals(
RollResult r
)
Parameters
- r
- Type: Dice.RollResult
- The RollResult to compare against
Return Value
Type: System.Boolean
true
if r is equal to the current RollResult, and false
otherwise.
Remarks
This method compares the following fields:
Any field not listed above is not part of the comparison, and thus is not considered when determining whether or not two RollResults are equal.