Exemple #1
0
        private static SelectExprProcessor InitializeCtorInjection(
            BeanEventType beanEventType,
            ExprEvaluator[] exprEvaluators,
            Object[] expressionReturnTypes,
            EngineImportService engineImportService,
            EventAdapterService eventAdapterService)
        {
            var pair = InstanceManufacturerUtil.GetManufacturer(beanEventType.UnderlyingType, engineImportService, exprEvaluators, expressionReturnTypes);
            var eventManufacturer = new EventBeanManufacturerCtor(pair.First, beanEventType, eventAdapterService);

            return(new SelectExprInsertNativeNoWiden(beanEventType, eventManufacturer, pair.Second));
        }
 private static SelectExprProcessorForge InitializeCtorInjection(
     BeanEventType beanEventType,
     ExprForge[] forges,
     object[] expressionReturnTypes,
     ImportServiceCompileTime importService)
 {
     var pair = InstanceManufacturerUtil.GetManufacturer(
         beanEventType.UnderlyingType,
         importService,
         forges,
         expressionReturnTypes);
     var eventManufacturer = new EventBeanManufacturerCtorForge(pair.First, beanEventType);
     return new SelectExprInsertNativeNoWiden(beanEventType, eventManufacturer, pair.Second);
 }