Class ValueExtensions
These extensions allow simple handling of certain types in code
(currently BitRate only).
Inheritance
System.Object
ValueExtensions
Assembly: Emby.Media.Model.dll
public static class ValueExtensions
Methods
Declaration
public static ByteSize B(this double bytes)
Parameters
Type |
Name |
Description |
System.Double |
bytes |
|
Returns
Declaration
public static ByteSize B(this int bytes)
Parameters
Type |
Name |
Description |
System.Int32 |
bytes |
|
Returns
Declaration
public static BitRate bps(this double rate)
Parameters
Type |
Name |
Description |
System.Double |
rate |
|
Returns
Declaration
public static BitRate bps(this int rate)
Parameters
Type |
Name |
Description |
System.Int32 |
rate |
|
Returns
Declaration
public static ByteSize GB(this double bytes)
Parameters
Type |
Name |
Description |
System.Double |
bytes |
|
Returns
Declaration
public static ByteSize GB(this int bytes)
Parameters
Type |
Name |
Description |
System.Int32 |
bytes |
|
Returns
Declaration
public static ByteSize kB(this double bytes)
Parameters
Type |
Name |
Description |
System.Double |
bytes |
|
Returns
Declaration
public static ByteSize kB(this int bytes)
Parameters
Type |
Name |
Description |
System.Int32 |
bytes |
|
Returns
Declaration
public static BitRate kbps(this double rate)
Parameters
Type |
Name |
Description |
System.Double |
rate |
|
Returns
Declaration
public static BitRate kbps(this int rate)
Parameters
Type |
Name |
Description |
System.Int32 |
rate |
|
Returns
Declaration
public static ByteSize MB(this double bytes)
Parameters
Type |
Name |
Description |
System.Double |
bytes |
|
Returns
Declaration
public static ByteSize MB(this int bytes)
Parameters
Type |
Name |
Description |
System.Int32 |
bytes |
|
Returns
Declaration
public static BitRate Mbps(this double rate)
Parameters
Type |
Name |
Description |
System.Double |
rate |
|
Returns
Declaration
public static BitRate Mbps(this int rate)
Parameters
Type |
Name |
Description |
System.Int32 |
rate |
|
Returns