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;
 }
Esempio 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);
 }