Пример #1
0
        public PandoraContainer(IComponentStore componentStore, BehaviorConfiguration configuration)
        {
            this.componentStore = componentStore;
            lookupService       = BuildLookupService(configuration.EnableImplicitTypeInstantiation, configuration.ImplicitTypeLifestyle);
            var activator = new ComponentActivator();

            resolver = new Resolver(activator, lookupService);
        }
Пример #2
0
 public Resolver(IComponentActivator activator, IComponentLookup componentLookup)
 {
     this.activator       = activator;
     this.componentLookup = componentLookup;
 }
 public ConcreteClassInstantiationLookupServiceDecorator(IComponentLookup underlying, ILifestyle lifestyle)
 {
     this.underlying = underlying;
     this.lifestyle  = lifestyle;
 }
Пример #4
0
 public Resolver(IComponentActivator activator, IComponentLookup componentLookup)
 {
     this.activator = activator;
     this.componentLookup = componentLookup;
 }
 public ConcreteClassInstantiationLookupServiceDecorator(IComponentLookup underlying, ILifestyle lifestyle)
 {
     this.underlying = underlying;
     this.lifestyle = lifestyle;
 }