Show / Hide Table of Contents

Interface ITerm

Interface for an evaluatable term of a dice expression.

Namespace: GoRogue.DiceNotation.Terms
Assembly: GoRogue.dll
Syntax
public interface ITerm

Methods

| Improve this Doc View Source

GetResult(IGenerator)

Evaluates the term and returns the result.

Declaration
int GetResult(IGenerator rng)
Parameters
Type Name Description
Troschuetz.Random.IGenerator rng

The rng to use.

Returns
Type Description
System.Int32

The result of evaluating the term.

Extension Methods

Utility.Yield<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX