public DecoratorInterceptor(DecoratorExpressionInterceptorData data)
        {
            this.registrationsCache = new Dictionary<InstanceProducer, Registration>();
            this.singletonDecoratedCollectionsCache = new Dictionary<InstanceProducer, IEnumerable>();

            this.data = data;
        }
Exemple #2
0
        public DecoratorInterceptor(DecoratorExpressionInterceptorData data)
        {
            this.registrationsCache = new Dictionary <InstanceProducer, Registration>();
            this.singletonDecoratedCollectionsCache = new Dictionary <InstanceProducer, IEnumerable>();

            this.data = data;
        }
Exemple #3
0
 public ServiceDecoratorExpressionInterceptor(DecoratorExpressionInterceptorData data,
                                              Dictionary <InstanceProducer, Registration> registrations, ExpressionBuiltEventArgs e)
     : base(data)
 {
     this.registrations         = registrations;
     this.e                     = e;
     this.registeredServiceType = e.RegisteredServiceType;
 }
 public ServiceDecoratorExpressionInterceptor(DecoratorExpressionInterceptorData data,
     Dictionary<InstanceProducer, Registration> registrations, ExpressionBuiltEventArgs e)
     : base(data)
 {
     this.registrations = registrations;
     this.e = e;
     this.registeredServiceType = e.RegisteredServiceType;
 }
 public ContainerUncontrolledServicesDecoratorInterceptor(DecoratorExpressionInterceptorData data,
     Dictionary<InstanceProducer, IEnumerable> singletonDecoratedCollectionsCache,
     ExpressionBuiltEventArgs e, Type registeredServiceType)
     : base(data)
 {
     this.singletonDecoratedCollectionsCache = singletonDecoratedCollectionsCache;
     this.e = e;
     this.registeredServiceType = registeredServiceType;
 }
Exemple #6
0
 public ContainerUncontrolledServicesDecoratorInterceptor(DecoratorExpressionInterceptorData data,
                                                          Dictionary <InstanceProducer, IEnumerable> singletonDecoratedCollectionsCache,
                                                          ExpressionBuiltEventArgs e, Type registeredServiceType)
     : base(data)
 {
     this.singletonDecoratedCollectionsCache = singletonDecoratedCollectionsCache;
     this.e = e;
     this.registeredServiceType = registeredServiceType;
 }
        protected DecoratorExpressionInterceptor(DecoratorExpressionInterceptorData data)
        {
            this.data = data;

            this.Lifestyle = data.Lifestyle;
        }
        protected DecoratorExpressionInterceptor(DecoratorExpressionInterceptorData data)
        {
            this.data = data;

            this.Lifestyle = data.Lifestyle;
        }