Ejemplo n.º 1
0
 public RemainingReductionPerLevel Add(RemainingReductionPerLevel other)
 {
     Interlocked.Add(ref remainingReductionsLevel0, other.remainingReductionsLevel0);
     Interlocked.Add(ref remainingReductionsLevel1, other.remainingReductionsLevel1);
     Interlocked.Add(ref remainingReductionsLevel2, other.remainingReductionsLevel2);
     return this;
 }
Ejemplo n.º 2
0
 public RemainingReductionPerLevel Add(RemainingReductionPerLevel other)
 {
     Interlocked.Add(ref remainingReductionsLevel0, other.remainingReductionsLevel0);
     Interlocked.Add(ref remainingReductionsLevel1, other.remainingReductionsLevel1);
     Interlocked.Add(ref remainingReductionsLevel2, other.remainingReductionsLevel2);
     return(this);
 }