Class StorageCapacityOptions
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Configuration options for StorageCapacity.
public sealed class StorageCapacityOptions : FormattingOptions, IValidatableParameterObject, IParameterObject
- Inheritance
-
ObjectStorageCapacityOptions
- Implements
- Inherited Members
Constructors
StorageCapacityOptions()
Initializes a new instance of the StorageCapacityOptions class.
public StorageCapacityOptions()
Remarks
The following table shows the initial property values for an instance of StorageCapacityOptions.
Property | Initial Value |
---|---|
Style | Symbol |
NumberFormat | #,##0.## |
FormatProvider | System.Globalization.CultureInfo.InvariantCulture |
Prefix | Binary |
Properties
NumberFormat
Gets or sets the desired number format when using ToString().
public string NumberFormat { get; set; }
Property Value
- String
The desired number format when using ToString().
Prefix
Gets or sets the proffered UnitPrefix when calling ToString().
public UnitPrefix Prefix { get; set; }
Property Value
- UnitPrefix
The proffered UnitPrefix when calling ToString().
Style
Gets or sets the desired naming style.
public NamingStyle Style { get; set; }
Property Value
- NamingStyle
The desired naming style.