Exemplo n.º 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;
 }
Exemplo n.º 2
0
 internal Transaction(RefCounter <T> counter)
 {
     this.counter = counter;
 }
Exemplo n.º 3
0
 public Transaction(RefCounter <T> counter)
 {
     this.counter = counter;
 }