Show / Hide Table of Contents

Class UnitFormatOptions

Configuration options for BitUnit and ByteUnit. Implements the FormattingOptions<T>

Inheritance
Object
FormattingOptions<CultureInfo>
UnitFormatOptions
Implements
IParameterObject
Inherited Members
FormattingOptions<CultureInfo>.FormatProvider
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public sealed class UnitFormatOptions : FormattingOptions<CultureInfo>, IParameterObject

Constructors

| Improve this Doc View Source

UnitFormatOptions()

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.

PropertyInitial Value
StyleSymbol
NumberFormat#,##0.##
FormatProviderInvariantCulture

Properties

| Improve this Doc View Source

NumberFormat

Gets or sets the desired number format.

Declaration
public string NumberFormat { get; set; }
Property Value
Type Description
String

The desired number format.

| Improve this Doc View Source

Style

Gets or sets the desired naming style.

Declaration
public NamingStyle Style { get; set; }
Property Value
Type Description
NamingStyle

The desired naming style.

Implements

IParameterObject

See Also

FormattingOptions<T>
IPrefixMultiple
BinaryPrefix
DecimalPrefix
NamingStyle
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX