Class UnitFormatOptions
- Namespace
- Codebelt.Unitify
- Assembly
- Codebelt.Unitify.dll
Configuration options for implementations of IBaseUnit.
public class UnitFormatOptions : FormattingOptions, IValidatableParameterObject, IParameterObject
- Inheritance
-
ObjectUnitFormatOptions
- Implements
- Inherited Members
Constructors
UnitFormatOptions()
Initializes a new instance of the UnitFormatOptions class.
public UnitFormatOptions()
Remarks
The following table shows the initial property values for an instance of UnitFormatOptions.
Property | Initial Value |
---|---|
Style | Symbol |
NumberFormat | #,##0.###### |
FormatProvider | System.Globalization.CultureInfo.InvariantCulture |
Properties
NumberFormat
Gets or sets the desired number format.
public string NumberFormat { get; set; }
Property Value
- String
The desired number format.
Style
Gets or sets the desired naming style.
public NamingStyle Style { get; set; }
Property Value
- NamingStyle
The desired naming style.