< Dice‎ | DieResult
Revision as of 18:01, 25 April 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|1=DieResult.operator == Method (DieResult, DieResult)}} Compare two DieResults and return whether or not they are equal. Implements DieResult == DieResult. {{ns}} =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

DieResult.operator == Method (DieResult, DieResult)

From DiceRoller Documentation

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

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

Syntax

public static bool operator ==(
    DieResult a,
    DieResult b
)

Parameters

a
Type: Dice.DieResult
The first DieResult to compare.
b
Type: Dice.DieResult
The second DieResult to compare.

Return Value

Type: System.Boolean

true if a and b are equal, and false otherwise.

Remarks

This method calls a.Equals(b) internally. See that method documentation for more information on how the comparison is performed.