Exemplo n.º 1
0
 /// <summary>
 /// Creates a new <see cref="DataRate"/> from given gigabytes per second value.
 /// </summary>
 public static DataRate GigabytesPerSecond(this double value) =>
 DataRate.FromGigabytesPerSecond(value);
Exemplo n.º 2
0
 /// <summary>
 /// Creates a new <see cref="DataRate"/> from given terabytes per second value.
 /// </summary>
 public static DataRate TerabytesPerSecond(this ushort value) =>
 DataRate.FromTerabytesPerSecond(value);
Exemplo n.º 3
0
 public static DataRate MegabytesPerSecond(this long value) =>
 DataRate.FromMegabytesPerSecond(value);
Exemplo n.º 4
0
 /// <summary>
 /// Creates a new <see cref="DataRate"/> from given kilobytes per second value.
 /// </summary>
 public static DataRate KilobytesPerSecond(this double value) =>
 DataRate.FromKilobytesPerSecond(value);
Exemplo n.º 5
0
 /// <summary>
 /// Creates a new <see cref="DataRate"/> from given kilobytes per second value.
 /// </summary>
 public static DataRate KilobytesPerSecond(this ushort value) =>
 DataRate.FromKilobytesPerSecond(value);
Exemplo n.º 6
0
 /// <summary>
 /// Creates a new <see cref="DataRate"/> from given bytes per second value.
 /// </summary>
 public static DataRate BytesPerSecond(this int value) =>
 DataRate.FromBytesPerSecond(value);
Exemplo n.º 7
0
 /// <summary>
 /// Creates a new <see cref="DataRate"/> from given petabytes per second value.
 /// </summary>
 public static DataRate PetabytesPerSecond(this int value) =>
 DataRate.FromPetabytesPerSecond(value);