Пример #1
0
 public Container(StObjEngineConfigureContext c)
 {
     _c                = c;
     _baseForConfig    = new SimpleServiceContainer();
     _defaultActivator = new SimpleObjectActivator();
     _baseForConfig.Add(_defaultActivator);
     BaseProvider = _baseForConfig;
 }
 public StObjEngineRunContext(IActivityMonitor monitor, StObjEngineConfigureContext startContext)
 {
     _monitor            = monitor;
     _startContext       = startContext;
     _binPaths           = new List <GenBinPath>();
     _trampoline         = new StObjEngineAspectTrampoline <IStObjEngineRunContext>(this);
     _trampolinePostCode = new StObjEngineAspectTrampoline <IStObjEnginePostCodeRunContext>(this);
     _primaryRunCache    = new Dictionary <string, object>();
 }