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