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