コード例 #1
0
 public ProductBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _product_repo = _data_repository_factory.GetDataRepository <IProductRepository>();
     _attrib_be    = _business_engine_factory.GetBusinessEngine <IEntityAttributeBusinessEngine>();
     _prod_type_be = _business_engine_factory.GetBusinessEngine <IProductTypeBusinessEngine>();
     _prod_es      = _entity_service_factory.GetEntityService <IProductEntityService>();
 }
コード例 #2
0
 public ProductsManager(ILogger <ProductsManager> logger, IMQPublisher mqPublisher,
                        IProductRepository productRepository, IProductEntityService productEntityService)
 {
     _log                  = logger;
     _mqPublisher          = mqPublisher;
     _productRepository    = productRepository;
     _productEntityService = productEntityService;
 }
コード例 #3
0
 public ProductController(IProductEntityService productEntityService, IMapper mapper) : base(productEntityService, mapper)
 {
 }
 public ProductApplicationService(IProductEntityService productEntityService, IMapper mapper)
 {
     this.productEntityService = productEntityService;
     this.mapper = mapper;
 }