コード例 #1
0
ファイル: EnergyDensity.g.cs プロジェクト: LPatard/UnitsNet
 public bool Equals(EnergyDensity other)
 {
     return(_value.Equals(other.AsBaseNumericType(this.Unit)));
 }
コード例 #2
0
ファイル: EnergyDensity.g.cs プロジェクト: LPatard/UnitsNet
 // 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(EnergyDensity other)
 {
     return(_value.CompareTo(other.AsBaseNumericType(this.Unit)));
 }