Exemplo n.º 1
0
 public bool Equals(Frequency other)
 {
     return(_value.Equals(other.AsBaseNumericType(this.Unit)));
 }
Exemplo n.º 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
 public int CompareTo(Frequency other)
 {
     return(_value.CompareTo(other.AsBaseNumericType(this.Unit)));
 }