public LeadEvaluator_ConsoleTest(
     ScoringAndVerificationService scoringSvc,
     ProductRecommendationService productRecommendationSvc
     )
 {
     _interestConfirmationEval = new InterestConfirmationEvaluator();
     _applicationEval          = new ApplicationEvaluator(scoringSvc, productRecommendationSvc);
 }
 public MessagesController(
     MobileMessageService messageSvc,
     ScoringAndVerificationService scoringSvc,
     ProductRecommendationService productRecommendationSvc
     )
 {
     _messageSvc = messageSvc;
     _scoringSvc = scoringSvc;
     _productRecommendationSvc = productRecommendationSvc;
 }
Exemple #3
0
 public LeadEvaluator(
     MobileMessageService messageSvc,
     ScoringAndVerificationService scoringSvc,
     ProductRecommendationService productRecommendationSvc,
     LeadRepository leadRepo
     )
 {
     _interestConfirmationEval = new InterestConfirmationEvaluator(messageSvc);
     _applicationEval          = new ApplicationEvaluator(messageSvc, scoringSvc, productRecommendationSvc);
     _leadRepo = leadRepo;
 }
 public EvalLeadJobController(
     MobileMessageService messageSvc,
     ScoringAndVerificationService scoringSvc,
     ProductRecommendationService productRecommendationSvc,
     LeadRepository leadRepo,
     LeadTypeRepository leadTypeRepo
     )
 {
     _messageSvc = messageSvc;
     _scoringSvc = scoringSvc;
     _productRecommendationSvc = productRecommendationSvc;
     _leadRepo     = leadRepo;
     _leadTypeRepo = leadTypeRepo;
 }
            public ApplicationEvaluator(
                ScoringAndVerificationService scoringSvc,
                ProductRecommendationService productRecommendationSvc
                )
            {
                ActionEvaluators = new Dictionary <string, ActionEvaluator <Application, Lead> >();

                ActionEvaluators.Add(Domain.ActionType.SendMessage, new SendMessageIO());
                ActionEvaluators.Add(Domain.ActionType.FreeTextPrompt, new PromptUserIO());
                ActionEvaluators.Add(Domain.ActionType.YesNoPrompt, new PromptUserIO());
                ActionEvaluators.Add(Domain.ActionType.MultiValuePrompt, new PromptUserIO());
                ActionEvaluators.Add(Domain.ActionType.Scoring, new ScoringIO(scoringSvc));
                ActionEvaluators.Add(Domain.ActionType.LoadRecommendedProducts, new LoadRecommendedProductsIO(productRecommendationSvc));
                ActionEvaluators.Add(Domain.ActionType.RecommendProducts, new PromptUserIO());
                ActionEvaluators.Add(Domain.ActionType.VerifyBankAccount, new VerifyBankAccountIO(scoringSvc));
            }
 public LoadRecommendedProductsIO(ProductRecommendationService productSvc)
 {
     _productSvc = productSvc;
 }