コード例 #1
0
 public WorkflowService(IProductService productService, IProductMailQueueService productMailQueueService,
                        IIndexingProductService indexingProductService)
 {
     _productService          = productService;
     _productMailQueueService = productMailQueueService;
     _indexingProductService  = indexingProductService;
 }
コード例 #2
0
        public ESDeleteIndexProductJob(IIndexingProductService indexingProductService, IDbContextService dbContextService)
        {
            logger = LogManager.GetLogger(GetType());

            _indexingProductService = indexingProductService;
            _dbContextService       = dbContextService;
        }
コード例 #3
0
 public void TestSetup()
 {
     //LoadSheets();
     gen        = new GenerateRandomProductUtil(isLoggingDebug, isLoggingVerbose, isLoggingProductFullDetailsOnCreation, GenerateRandomProductUtil.serviceCall);
     _container = new WindsorContainer();
     ComponentRegistrar.AddServicesTo(_container);
     ComponentRegistrar.AddNestConnection(_container);
     ComponentRegistrar.AddGenericRepositoriesTo(_container);
     ComponentRegistrar.AddCustomRepositoriesTo(_container);
     ComponentRegistrar.AddUnitOfWorkTo(_container);
     ComponentRegistrar.AddDatabaseFactoryPerThreadTo(_container);
     service      = _container.Resolve <IProductService>();
     indexService = _container.Resolve <IIndexingProductService>();
     //_productImageService = _container.Resolve<IProductImageService>();
 }
コード例 #4
0
 public ProductController(IProductService productService, IProductImageService productImageService, IIndexingProductService indexingProductService)
 {
     _productService         = productService;
     _productImageService    = productImageService;
     _indexingProductService = indexingProductService;
 }