public virtual void RunIsolated(IBlock4 block) { lock (Lock()) { block.Run(); } }
public static long Time(IBlock4 block) { Db4objects.Db4o.Foundation.StopWatch stopWatch = new Db4objects.Db4o.Foundation.StopWatch (); stopWatch.Start(); block.Run(); stopWatch.Stop(); return(stopWatch.Elapsed()); }
public static long Time(IBlock4 block) { Db4objects.Db4o.Foundation.StopWatch stopWatch = new Db4objects.Db4o.Foundation.StopWatch (); stopWatch.Start(); block.Run(); stopWatch.Stop(); return stopWatch.Elapsed(); }
public static long Time(IBlock4 block) { var stopWatch = new StopWatch (); stopWatch.Start(); block.Run(); stopWatch.Stop(); return stopWatch.Elapsed(); }
public static long Time(IBlock4 block) { var stopWatch = new StopWatch (); stopWatch.Start(); block.Run(); stopWatch.Stop(); return(stopWatch.Elapsed()); }
private void WithException(IBlock4 block) { doThrow = true; try { block.Run(); } catch (Exception) { } finally { doThrow = false; } }
public virtual void RunIsolated(IBlock4 block) { lock (this) { block.Run(); } }
public _IBlock4_110(IBlock4 block) { this.block = block; }
public _IBlock4_108(GenericReplicationSession _enclosing, IBlock4 block) { this._enclosing = _enclosing; this.block = block; }
private void RunIsolated(IBlock4 block) { _providerA.RunIsolated(new _IBlock4_108(this, block)); }