예제 #1
0
 public bool Equals(ApparentPower other)
 {
     return(_value.Equals(other.AsBaseNumericType(this.Unit)));
 }
예제 #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(ApparentPower other)
 {
     return(_value.CompareTo(other.AsBaseNumericType(this.Unit)));
 }