-
Notifications
You must be signed in to change notification settings - Fork 0
263b7f06 f8c8 5871 5311 dd1f5e2ad2c4
Axel Kesseler edited this page Oct 3, 2019
·
3 revisions
Capacity converter provides functionality to easily convert capacity values into formatted strings.
System.Object
Plexdata.Converters.CapacityConverter
Namespace: Plexdata.Converters
Assembly: Plexdata.CapacityConverter (in Plexdata.CapacityConverter.dll) Version: 1.0.1
C#
public static class CapacityConverter
The CapacityConverter type exposes the following members.
Name | Description | |
---|---|---|
CapacityConverter | The static class constructor. |
Name | Description | |
---|---|---|
Capacities | Gets the list of used capacity entities. | |
Default | Gets the default capacity entity. |
Name | Description | |
---|---|---|
Convert(Decimal) | Converts provided value into its string representation. | |
Convert(Decimal, Int32) | Converts provided value into its string representation. | |
Convert(Decimal, String) | Converts provided value into its string representation. | |
Convert(Decimal, String, Int32) | Converts provided value into its string representation. | |
Convert(Decimal, String, Int32, CultureInfo) | Converts provided value into its string representation. | |
Convert(Decimal, String, Int32, Boolean, CultureInfo) | Converts provided value into its string representation. | |
Convert(Decimal, String, Int32, Boolean, Boolean, CultureInfo) | Converts provided value into its string representation. | |
Find(Decimal) | Finds a capacity entity by value. | |
Find(String) | Finds a capacity entity by unit. |
This class provides convenient functionality to easily convert capacity values into formatted strings. For example, this class can convert a number of 123,456,789 bytes into its capacity string representation like 117.738 MiB.
Plexdata Capacity Converter