/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public override IBin Open(BinConfiguration config) { IBin bin = base.Open(config); ((IBlockSize)Environments.My(typeof(IBlockSize))).Register((IListener4)bin); return(bin); }
/// <exception cref="Db4objects.Db4o.Ext.Db4oIOException"></exception> public virtual IBin Open(BinConfiguration config) { IoAdapterStorage.IoAdapterBin bin = new IoAdapterStorage.IoAdapterBin(_io.Open(config .Uri(), config.LockFile(), config.InitialLength(), config.ReadOnly())); ((IBlockSize)Environments.My(typeof(IBlockSize))).Register(bin); return(bin); }
public void Run() { Assert.AreSame(whatever, ((EnvironmentsTestCase.IWhatever)Environments.My(typeof( EnvironmentsTestCase.IWhatever)))); Environments.RunWith(environment2, new _IRunnable_56()); Assert.AreSame(whatever, ((EnvironmentsTestCase.IWhatever)Environments.My(typeof( EnvironmentsTestCase.IWhatever)))); }
public virtual void Run() { ITestExecutor executor = ((ITestExecutor)Environments.My(typeof(ITestExecutor))); IEnumerator tests = ((IEnumerator)_tests.Run()); try { SuiteSetUp(); while (tests.MoveNext()) { executor.Execute(((ITest)tests.Current)); } SuiteTearDown(); } catch (Exception exc) { executor.Fail(this, exc); } }
public void Run() { Assert.AreSame(this._enclosing.Container(), ((IObjectContainer)Environments.My(typeof( IObjectContainer)))); }
public void Run() { Assert.AreSame(this._enclosing._service, ((EnvironmentConfigurationTestCase.IServiceInterface )Environments.My(typeof(EnvironmentConfigurationTestCase.IServiceInterface)))); }
public void Run() { Assert.AreSame(_enclosing._service, ((IServiceInterface )Environments.My(typeof(IServiceInterface)))); }
public void Run() { ran.value = true; Assert.AreSame(whatever, ((EnvironmentsTestCase.IWhatever)Environments.My(typeof( EnvironmentsTestCase.IWhatever)))); }
/// <exception cref="System.Exception"></exception> public void Run() { Environments.My(typeof(EnvironmentsTestCase.IWhatever)); }
public void Run() { Assert.IsNull(((EnvironmentsTestCase.IWhatever)Environments.My(typeof(EnvironmentsTestCase.IWhatever )))); }
/// <exception cref="System.Exception"></exception> public void Run() { Environments.My(typeof(IWhatever)); }
public void Run() { Assert.IsNull(((IWhatever)Environments.My(typeof(IWhatever )))); }