-
-
Notifications
You must be signed in to change notification settings - Fork 5
Storage
Taiizor edited this page Mar 1, 2023
·
2 revisions
Description:
The StorageExtension
class is part of the Skylark.Standard.Extension.Storage namespace and provides extension methods for converting between storage units. It contains methods for converting units synchronously and asynchronously, and for automatically detecting the input unit and converting to all other units.
Properties:
-
Convert
: A method that converts a value from one unit to another, given the input unit, output unit, and mode (decimal, binary, etc.). -
ConvertAsync
: An asynchronous version of theConvert
method. -
AutoConvert
: A method that automatically detects the input unit and converts the value to all other units. -
AutoConvertAsync
: An asynchronous version of theAutoConvert
method.
Namespaces:
-
Skylark.Exception
: Provides theE
class, which represents an exception that is thrown by theConvert
andAutoConvert
methods. -
Skylark.Enum.ClearNumericType
: Provides theECNT
enum, which contains values for different types of numeric units. -
Skylark.Enum.ModeStorageType
: Provides theEMST
enum, which contains values for different modes of storage conversion (decimal, binary, etc.). -
Skylark.Enum.StorageType
: Provides theEST
enum, which contains values for different types of storage units. -
Skylark.Helper.Converter
: Provides theHC
class, which contains methods for converting between different data types. -
Skylark.Helper.Numeric
: Provides theHN
class, which contains methods for performing numeric operations. -
Skylark.Standard.Helper.Storage.StorageHelper
: Provides theHSSH
class, which contains helper methods for storage conversion. -
Skylark.Standard.Manage.Storage.StorageManage
: Provides theMSSM
class, which contains constants for default input, output, and mode values, as well as an error message. -
Skylark.Struct.Storage.StorageStruct
: Provides theSSSS
struct, which represents a storage value in all units.
Methods:
Convert
- Description: Converts a value from one unit to another.
- Parameters:
-
Value
: The value to convert. -
Input
: The input unit. -
Output
: The output unit. -
Mode
: The mode of conversion (decimal
- Tax
- Url
- Web
- Ping
- Port
- Text
- Time
- Hash
- Word
- Color
- Speed
- Lottery
- Storage
- Browser
- Unicode
- Password
- JavaScript
- Cryptology
- Typography
- Temperature
- Compression
- Decompression
- Cascading Style Sheets
- JavaScript Object Notation
- Hypertext Markup Language
- Extensible Markup Language
- Extensible HyperText Markup Language