예제 #1
0
 internal CreatingRemoving(Func <TSource, TResult> selector, Action <TResult> onRemove)
 {
     this.refCounter           = new RefCounter <TResult>();
     this.selector             = selector;
     this.onRemove             = onRemove;
     this.refCounter.OnRemove += onRemove;
 }
예제 #2
0
 internal Transaction(RefCounter <T> counter)
 {
     this.counter = counter;
 }
예제 #3
0
 public Transaction(RefCounter <T> counter)
 {
     this.counter = counter;
 }