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