/// <inheritdoc /> /// <remarks>Consider using <see cref="Equals(MolarEntropy, double, ComparisonType)"/> for safely comparing floating point values.</remarks> public bool Equals(MolarEntropy other) { if (other is null) { return(false); } return(_value.Equals(other.GetValueAs(this.Unit))); }
/// <inheritdoc /> public int CompareTo(MolarEntropy other) { if (other is null) { throw new ArgumentNullException(); } return(_value.CompareTo(other.GetValueAs(this.Unit))); }
public bool Equals(MolarEntropy other) { return(_value.Equals(other.GetValueAs(this.Unit))); }
public int CompareTo(MolarEntropy other) { return(_value.CompareTo(other.GetValueAs(this.Unit))); }