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