Beispiel #1
0
 public bool Equals(AngleUnit other) =>
 string.Equals(Name, other.Name, StringComparison.Ordinal) &&
 string.Equals(Abbreviation, other.Abbreviation, StringComparison.Ordinal) &&
 UnitsPerTurn.Equals(other.UnitsPerTurn);
Beispiel #2
0
 public bool IsEquivalentOf(AngleUnit other) =>
 UnitsPerTurn.Equals(other.UnitsPerTurn);