BinarySize Structure |
Namespace: Ookii.Jumbo
The BinarySize type exposes the following members.
Name | Description | |
---|---|---|
BinarySize(Int32) |
Initializes a new instance of the BinarySize structure with the specified value.
| |
BinarySize(Int64) |
Initializes a new instance of the BinarySize structure with the specified value.
| |
BinarySize(UInt32) |
Initializes a new instance of the BinarySize structure with the specified value.
| |
BinarySize(UInt64) |
Initializes a new instance of the BinarySize structure with the specified value.
|
Name | Description | |
---|---|---|
InGigabytes |
Gets the value of this instance in gigabytes.
| |
InKilobytes |
Gets the value of this instance in kilobytes.
| |
InMegabytes |
Gets the value of this instance in megabytes.
| |
InPetabytes |
Gets the value of this instance in petabytes.
| |
InTerabytes |
Gets the value of this instance in terabytes.
| |
Value |
Gets the value of this instance, in bytes.
| |
Zero |
Gets a zero-valued BinarySize instance.
|
Name | Description | |
---|---|---|
Add |
Returns a new BinarySize object whose value is the sum of the specified BinarySize object and this instance.
| |
CompareTo(BinarySize) |
Compares this instance to a specified BinarySize and returns an indication of their relative values.
| |
CompareTo(Object) |
Compares this instance to a specified object and returns an indication of their relative values.
| |
Divide |
Returns a new BinarySize object whose value is the division of the specified Int64 object and this instance.
| |
Equals(BinarySize) |
Returns a value indicating whether this instance is equal to a specified BinarySize value.
| |
Equals(Object) |
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).) | |
GetHashCode |
Returns the hash code for this BinarySize.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Multiply |
Returns a new BinarySize object whose value is the product of the specified Int64 object and this instance.
| |
Negate |
Returns a new BinarySize object whose value is the negation of this instance.
| |
Parse(String) |
Converts the string representation of a byte size into a BinarySize structure.
| |
Parse(String, IFormatProvider) |
Converts the string representation of a byte size in a specified culture-specific format into a BinarySize structure.
| |
Subtract |
Returns a new BinarySize object whose value is the difference of the specified BinarySize object and this instance.
| |
ToByte |
Performs an explicit conversion from BinarySize to Byte.
| |
ToDecimal |
Performs an explicit conversion from BinarySize to Decimal.
| |
ToDouble |
Performs an explicit conversion from BinarySize to Double.
| |
ToInt16 |
Performs an explicit conversion from BinarySize to Int16.
| |
ToInt32 |
Performs an explicit conversion from BinarySize to Int32.
| |
ToInt64 |
Performs an explicit conversion from BinarySize to Int64.
| |
ToSByte |
Performs an explicit conversion from BinarySize to SByte.
| |
ToSingle |
Performs an explicit conversion from BinarySize to Single.
| |
ToString |
Returns a String that represents this instance.
(Overrides ValueTypeToString.) | |
ToString(IFormatProvider) |
Returns a String that represents this instance.
| |
ToString(String) |
Returns a String that represents this instance.
| |
ToString(String, IFormatProvider) |
Returns a String that represents this instance.
| |
ToUInt16 |
Performs an explicit conversion from BinarySize to UInt16.
| |
ToUInt32 |
Performs an explicit conversion from BinarySize to UInt32.
| |
ToUInt64 |
Performs an explicit conversion from BinarySize to UInt64.
|
Name | Description | |
---|---|---|
Addition |
Implements the operator +.
| |
Division |
Implements the operator /.
| |
Equality |
Determines whether two specified BinarySize values are the same.
| |
(BinarySize to Byte) |
Performs an explicit conversion from BinarySize to Byte.
| |
(BinarySize to Decimal) |
Performs an explicit conversion from BinarySize to Decimal.
| |
(BinarySize to Double) |
Performs an explicit conversion from BinarySize to Double.
| |
(BinarySize to Int16) |
Performs an explicit conversion from BinarySize to Int16.
| |
(BinarySize to Int32) |
Performs an explicit conversion from BinarySize to Int32.
| |
(BinarySize to Int64) |
Performs an explicit conversion from BinarySize to Int16.
| |
(BinarySize to SByte) |
Performs an explicit conversion from BinarySize to SByte.
| |
(BinarySize to Single) |
Performs an explicit conversion from BinarySize to Single.
| |
(BinarySize to UInt16) |
Performs an explicit conversion from BinarySize to UInt16.
| |
(BinarySize to UInt32) |
Performs an explicit conversion from BinarySize to UInt32.
| |
(BinarySize to UInt64) |
Performs an explicit conversion from BinarySize to UInt64.
| |
GreaterThan |
Returns a value indicating whether a specified BinarySize is greater than another BinarySize.
| |
GreaterThanOrEqual |
Returns a value indicating whether a specified BinarySize is greater than or equal to another BinarySize.
| |
(Byte to BinarySize) |
Performs an implicit conversion from Byte to BinarySize.
| |
(Decimal to BinarySize) |
Performs an implicit conversion from Decimal to BinarySize.
| |
(Double to BinarySize) |
Performs an implicit conversion from Double to BinarySize.
| |
(Int16 to BinarySize) |
Performs an implicit conversion from Int16 to BinarySize.
| |
(Int32 to BinarySize) |
Performs an implicit conversion from Int32 to BinarySize.
| |
(Int64 to BinarySize) |
Performs an implicit conversion from Int64 to BinarySize.
| |
(SByte to BinarySize) |
Performs an implicit conversion from SByte to BinarySize.
| |
(Single to BinarySize) |
Performs an implicit conversion from Single to BinarySize.
| |
(UInt16 to BinarySize) |
Performs an implicit conversion from UInt16 to BinarySize.
| |
(UInt32 to BinarySize) |
Performs an implicit conversion from UInt32 to BinarySize.
| |
(UInt64 to BinarySize) |
Performs an implicit conversion from UInt64 to BinarySize.
| |
Inequality |
Determines whether two specified BinarySize values are different.
| |
LessThan |
Returns a value indicating whether a specified BinarySize is less than another BinarySize.
| |
LessThanOrEqual |
Returns a value indicating whether a specified BinarySize is less than or equal to another BinarySize.
| |
Multiply |
Implements the operator *.
| |
Subtraction |
Implements the operator -.
| |
UnaryNegation |
Implements the unary operator -.
|
Name | Description | |
---|---|---|
Byte |
The size of a byte, 1 byte.
| |
Gigabyte |
The size of a gigabyte, 1073741824 bytes.
| |
Kilobyte |
The size of a kilobyte, 1024 bytes.
| |
Megabyte |
The size of a megabyte, 1048576 bytes.
| |
Petabyte |
The size of a PetaByte, 1125899906842624 bytes.
| |
Terabyte |
The size of a TeraByte, 1099511627776 bytes.
|