Beispiel #1
0
 public StObjEngine(IActivityMonitor monitor, StObjEngineConfiguration config)
 {
     Throw.CheckNotNullArgument(monitor);
     Throw.CheckNotNullArgument(config);
     _monitor = monitor;
     _config  = new RunningStObjEngineConfiguration(config);
 }
Beispiel #2
0
 internal StObjEngineConfigureContext(IActivityMonitor monitor,
                                      RunningStObjEngineConfiguration config,
                                      IStObjEngineStatus status,
                                      bool canSkipRun)
 {
     _monitor                = monitor;
     _config                 = config;
     _status                 = status;
     _aspects                = new List <IStObjEngineAspect>();
     _configurator           = new StObjEngineConfigurator();
     _container              = new Container(this);
     _configureOnlycontainer = new SimpleServiceContainer(_container);
     _trampoline             = new StObjEngineAspectTrampoline <IStObjEngineConfigureContext>(this);
     _canSkipRun             = canSkipRun;
 }