public Scope(T value) { GetValueCloseFinally = () => new ValueCloseFinally <T>(value, () => { }, () => { }); Run = Scoping.GetRunner(GetValueCloseFinally); }
public Scope(Func <ValueCloseFinally <T> > getValueCloseFinally) { GetValueCloseFinally = getValueCloseFinally; Run = Scoping.GetRunner(GetValueCloseFinally); }