Esempio n. 1
0
 protected override Numeric DoSubtraction <TOther>(Numeric other)
 {
     return(Value - (TOther)other.ObjectValue);
 }
Esempio n. 2
0
 protected override Numeric DoMultiplication <TOther>(Numeric other)
 {
     return(Value * (TOther)other.ObjectValue);
 }
Esempio n. 3
0
 protected override Numeric DoDivision <TOther>(Numeric other)
 {
     return(Value / (TOther)other.ObjectValue);
 }
Esempio n. 4
0
 protected override Numeric DoModulo <TOther>(Numeric other)
 {
     return(Value % (TOther)other.ObjectValue);
 }
Esempio n. 5
0
 protected override Numeric DoAddition <TOther>(Numeric other)
 {
     return(Value + (TOther)other.ObjectValue);
 }