Esempio 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);
Esempio 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);
Esempio n. 3
0
 public static DataRate MegabytesPerSecond(this long value) =>
 DataRate.FromMegabytesPerSecond(value);
Esempio 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);
Esempio 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);
Esempio 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);
Esempio 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);