public IsolatedContext(Type[] appDomainFixtureTypes, ExceptionAggregator aggregator) { _appDomainFixtureTypes = appDomainFixtureTypes; _appDomainContext = CreateAppDomainContext(); CallerAppDomainId = AppDomain.CurrentDomain.Id; if (appDomainFixtureTypes?.Length > 0) { _fixtureContainer = CreateRemoteFixtureContainer(aggregator); } }
private void InitializeAppDomainFixtureContainer() { _fixtureContainer = new AppDomainFixtureContainer(_appDomainFixtureTypes, Aggregator); _fixtureContainer.CreateFixtures(); }