コード例 #1
0
        public IsolatedContext(Type[] appDomainFixtureTypes, ExceptionAggregator aggregator)
        {
            _appDomainFixtureTypes = appDomainFixtureTypes;

            _appDomainContext = CreateAppDomainContext();
            CallerAppDomainId = AppDomain.CurrentDomain.Id;

            if (appDomainFixtureTypes?.Length > 0)
            {
                _fixtureContainer = CreateRemoteFixtureContainer(aggregator);
            }
        }
コード例 #2
0
 private void InitializeAppDomainFixtureContainer()
 {
     _fixtureContainer = new AppDomainFixtureContainer(_appDomainFixtureTypes, Aggregator);
     _fixtureContainer.CreateFixtures();
 }