Esempio n. 1
0
 /// <inheritdoc />
 /// <remarks>Consider using <see cref="Equals(Illuminance, double, ComparisonType)"/> for safely comparing floating point values.</remarks>
 public bool Equals(Illuminance other)
 {
     return(_value.Equals(other.GetValueAs(this.Unit)));
 }
Esempio n. 2
0
 /// <inheritdoc />
 public int CompareTo(Illuminance other)
 {
     return(_value.CompareTo(other.GetValueAs(this.Unit)));
 }