DieResult.Equals Method (DieResult)

From DiceRoller Documentation

Compare two DieResults and return whether or not they are equal.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public bool Equals(
    DieResult d
)

Parameters

d
Type: Dice.DieResult
The DieResult to compare against

Return Value

Type: System.Boolean

true if d is equal to the current DieResult, 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 DieResults are equal.