Class RbnfContext
The context for formatting a rule based number.
Inherited Members
Namespace: Sepia.Globalization.Numbers.Rules
Assembly: Sepia.Globalization.dll
Syntax
public class RbnfContext
Properties
| Improve this Doc View SourceLocale
The fall-back Locale.
Declaration
public Locale Locale { get; set; }
Property Value
Type | Description |
---|---|
Locale |
Number
The number being processed.
Declaration
public decimal Number { get; set; }
Property Value
Type | Description |
---|---|
Decimal |
Ruleset
The current rule set.
Declaration
public Ruleset Ruleset { get; set; }
Property Value
Type | Description |
---|---|
Ruleset |
RulesetGroup
The group of rule sets to use.
Declaration
public RulesetGroup RulesetGroup { get; set; }
Property Value
Type | Description |
---|---|
RulesetGroup |
Text
The generated format of the number.
Declaration
public StringBuilder Text { get; }
Property Value
Type | Description |
---|---|
StringBuilder |