/// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="configuration">scope configuration</param>
 /// <param name="builder">activation expression builder</param>
 /// <param name="attributeDiscoveryService">attribute discovery service</param>
 /// <param name="exportExpressionBuilder">expression builder</param>
 /// <param name="injectionContextCreator">injection context creator</param>
 /// <param name="constants">expression constants</param>
 /// <param name="injectionStrategyDelegateCreator">injection strategy creator</param>
 public ActivationStrategyCompiler(IInjectionScopeConfiguration configuration,
                                   IActivationExpressionBuilder builder,
                                   IAttributeDiscoveryService attributeDiscoveryService,
                                   IDefaultStrategyExpressionBuilder exportExpressionBuilder,
                                   IInjectionContextCreator injectionContextCreator,
                                   IExpressionConstants constants,
                                   IInjectionStrategyDelegateCreator injectionStrategyDelegateCreator)
 {
     _configuration                    = configuration;
     _builder                          = builder;
     _attributeDiscoveryService        = attributeDiscoveryService;
     _constants                        = constants;
     _injectionStrategyDelegateCreator = injectionStrategyDelegateCreator;
     _exportExpressionBuilder          = exportExpressionBuilder;
     _injectionContextCreator          = injectionContextCreator;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="configuration"></param>
 /// <param name="builder"></param>
 /// <param name="attributeDiscoveryService"></param>
 /// <param name="exportExpressionBuilder"></param>
 /// <param name="injectionContextCreator"></param>
 /// <param name="constants"></param>
 /// <param name="injectionCreator"></param>
 /// <param name="linqToDynamicMethodConverter"></param>
 public DynamicMethodStrategyCompiler(IInjectionScopeConfiguration configuration, IActivationExpressionBuilder builder, IAttributeDiscoveryService attributeDiscoveryService, IDefaultStrategyExpressionBuilder exportExpressionBuilder, IInjectionContextCreator injectionContextCreator, IExpressionConstants constants, IInjectionStrategyDelegateCreator injectionCreator, ILinqToDynamicMethodConverter linqToDynamicMethodConverter) :
     base(configuration, builder, attributeDiscoveryService, exportExpressionBuilder, injectionContextCreator, constants, injectionCreator)
 {
     _linqToDynamicMethodConverter = linqToDynamicMethodConverter;
 }