Class UnitFormatOptions
Configuration options for BitUnit and ByteUnit. Implements the FormattingOptions<T>
Implements
Inherited Members
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public sealed class UnitFormatOptions : FormattingOptions<CultureInfo>, IParameterObject
Constructors
| Improve this Doc View SourceUnitFormatOptions()
Initializes a new instance of the UnitFormatOptions class.
Declaration
public UnitFormatOptions()
Remarks
The following table shows the initial property values for an instance of UnitFormatOptions.
Property | Initial Value |
---|---|
Style | Symbol |
NumberFormat | #,##0.## |
FormatProvider | InvariantCulture |
Properties
| Improve this Doc View SourceNumberFormat
Gets or sets the desired number format.
Declaration
public string NumberFormat { get; set; }
Property Value
Type | Description |
---|---|
String | The desired number format. |
Style
Gets or sets the desired naming style.
Declaration
public NamingStyle Style { get; set; }
Property Value
Type | Description |
---|---|
NamingStyle | The desired naming style. |