示例#1
0
 /// <summary>
 /// Decrements the counters using information from another container.
 /// </summary>
 /// <param name="other">The other.</param>
 public void Decrement(RefCountItemContainer <T> other)
 {
     CountOnFirst  -= other.CountOnFirst;
     CountOnSecond -= other.CountOnSecond;
 }
示例#2
0
 /// <summary>
 /// Increments the counters using information from another container.
 /// </summary>
 /// <param name="other">The other.</param>
 public void Increment(RefCountItemContainer <T> other)
 {
     CountOnFirst  += other.CountOnFirst;
     CountOnSecond += other.CountOnSecond;
 }