/// <inheritdoc cref="QuantityFormatter.Format{TUnitType}(IQuantity{TUnitType}, string, IFormatProvider)"/> /// <summary> /// Gets the string representation of this instance in the specified format string using the specified format provider, or <see cref="CultureInfo.CurrentUICulture" /> if null. /// </summary> /// <param name="format">The format string.</param> /// <param name="provider">Format to use for localization and number formatting. Defaults to <see cref="CultureInfo.CurrentUICulture" /> if null.</param> /// <returns>The string representation.</returns> public string ToString(string format, IFormatProvider provider) { return(QuantityFormatter.Format <DurationUnit>(this, format, provider)); }
/// <inheritdoc cref="QuantityFormatter.Format{TUnitType}(IQuantity{TUnitType}, string, IFormatProvider)"/> /// <summary> /// Gets the string representation of this instance in the specified format string using the specified format provider, or <see cref="CultureInfo.CurrentUICulture" /> if null. /// </summary> /// <param name="format">The format string.</param> /// <param name="provider">Format to use for localization and number formatting. Defaults to <see cref="CultureInfo.CurrentUICulture" /> if null.</param> /// <returns>The string representation.</returns> public string ToString(string format, IFormatProvider provider) { return(QuantityFormatter.Format <PermittivityUnit>(this, format, provider)); }
/// <inheritdoc cref="QuantityFormatter.Format{TUnitType}(IQuantity{TUnitType}, string, IFormatProvider)"/> /// <summary> /// Gets the string representation of this instance in the specified format string using the specified format provider, or <see cref="CultureInfo.CurrentUICulture" /> if null. /// </summary> /// <param name="format">The format string.</param> /// <param name="provider">Format to use for localization and number formatting. Defaults to <see cref="CultureInfo.CurrentUICulture" /> if null.</param> /// <returns>The string representation.</returns> public string ToString(string format, IFormatProvider provider) { return(QuantityFormatter.Format <LapseRateUnit>(this, format, provider)); }
/// <inheritdoc cref="QuantityFormatter.Format{TUnitType}(IQuantity{TUnitType}, string, IFormatProvider)"/> /// <summary> /// Gets the string representation of this instance in the specified format string using the specified format provider, or <see cref="CultureInfo.CurrentUICulture" /> if null. /// </summary> /// <param name="format">The format string.</param> /// <param name="provider">Format to use for localization and number formatting. Defaults to <see cref="CultureInfo.CurrentUICulture" /> if null.</param> /// <returns>The string representation.</returns> public string ToString(string format, IFormatProvider provider) { return(QuantityFormatter.Format <AreaMomentOfInertiaUnit>(this, format, provider)); }
/// <inheritdoc cref="QuantityFormatter.Format{TUnitType}(IQuantity{TUnitType}, string, IFormatProvider)"/> /// <summary> /// Gets the string representation of this instance in the specified format string using the specified format provider, or <see cref="CultureInfo.CurrentUICulture" /> if null. /// </summary> /// <param name="format">The format string.</param> /// <param name="provider">Format to use for localization and number formatting. Defaults to <see cref="CultureInfo.CurrentUICulture" /> if null.</param> /// <returns>The string representation.</returns> public string ToString(string format, IFormatProvider provider) { return(QuantityFormatter.Format <HeatTransferCoefficientUnit>(this, format, provider)); }