Wiki

Clone wiki

RogueSharp / RogueSharp.DiceNotation / TermResult / README

TermResult Class

The TermResult class represents a single result of one of the terms in a DiceExpression

Inheritance Hierarchy

SystemObject
RogueSharp.DiceNotationTermResult

Namespace: RogueSharp.DiceNotation
Assembly:

Syntax

publicclassTermResult

The TermResult type exposes the following members.

Constructors

Name Description
TermResult Initializes a new instance of the TermResult class

Properties

Name Description
Scalar An integer value that could be used to multiply the result of this term by
TermType A string representing the type of this Term. Possible values are "constant" or "d(sides)" In 1d6 + 5, the 1d6 term is of type "d6" and the 5 term is of type "constant"
Value The integer total for this term

Methods

Name Description
Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ToString Returns a string that represents the current object. (Inherited from Object.)

See Also

Reference

RogueSharp.DiceNotation Namespace

[6]: 2014-2016 Faron Bracy

Updated