MacroRegistry.Contains Method (String)

From DiceRoller Documentation

Checks if the given macro has already been registered.

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

Syntax

internal bool Contains(
    string name
)

Parameters

name
Type: System.String
Name of the macro to check.

Return Value

Type: System.Boolean

Returns true if the given macro has been registered, and false if it has not.