Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Commit

Permalink
fixed typos;
Browse files Browse the repository at this point in the history
  • Loading branch information
Dejan Bratic committed Jul 4, 2023
1 parent f3fc74a commit fe70f4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Nox.Types/Types/Volume/Measurement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static TValueObject From(QuantityValue value, TUnitType unit)
/// <summary>
/// Validates a <see cref="TValueObject"/> object.
/// </summary>
/// <returns>true if the <see cref="Length2"/> value is valid.</returns>
/// <returns>true if the <see cref="TValueObject"/> value is valid.</returns>
internal override ValidationResult Validate()
{
var result = Value.Validate();
Expand All @@ -58,10 +58,10 @@ public override string ToString()
=> $"{Value.ToString($"0.{new string('#', QuantityValueDecimalPrecision)}", CultureInfo.InvariantCulture)} {Unit}";

/// <summary>
/// Returns a string representation of the <see cref="Length"/> object using the specified <see cref="IFormatProvider"/>.
/// Returns a string representation of the <see cref="TValueObject"/> object using the specified <see cref="IFormatProvider"/>.
/// </summary>
/// <param name="formatProvider">The format provider for the length value.</param>
/// <returns>A string representation of the <see cref="Length"/> object with the value formatted using the specified <see cref="IFormatProvider"/>.</returns>
/// <param name="formatProvider">The format provider for the measurement value.</param>
/// <returns>A string representation of the <see cref="TValueObject"/> object with the value formatted using the specified <see cref="IFormatProvider"/>.</returns>
public string ToString(IFormatProvider formatProvider)
=> $"{Value.ToString(formatProvider)} {Unit}";

Expand Down

0 comments on commit fe70f4c

Please sign in to comment.