Exemple #1
0
 public bool Equals(Power other)
 {
     return(_value.Equals(other.AsBaseNumericType(this.Unit)));
 }
Exemple #2
0
 // Windows Runtime Component does not allow public methods/ctors with same number of parameters: https://msdn.microsoft.com/en-us/library/br230301.aspx#Overloaded methods
 internal int CompareTo(Power other)
 {
     return(_value.CompareTo(other.AsBaseNumericType(this.Unit)));
 }