Class TermResult
The TermResult class represents a single result of one of the terms in a DiceExpression
Inheritance
System.Object
TermResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: RogueSharp.DiceNotation
Assembly: RogueSharp.dll
Syntax
public class TermResult
Properties
| Improve this Doc View SourceScalar
An integer value that could be used to multiply the result of this term by
Declaration
public int Scalar { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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"
Declaration
public string TermType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
The integer total for this term
Declaration
public int Value { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |