コード例 #1
0
 public AbstractProductModelService(
     ILogger logger,
     IProductModelRepository productModelRepository,
     IApiProductModelRequestModelValidator productModelModelValidator,
     IBOLProductModelMapper bolProductModelMapper,
     IDALProductModelMapper dalProductModelMapper,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper,
     IBOLProductModelIllustrationMapper bolProductModelIllustrationMapper,
     IDALProductModelIllustrationMapper dalProductModelIllustrationMapper,
     IBOLProductModelProductDescriptionCultureMapper bolProductModelProductDescriptionCultureMapper,
     IDALProductModelProductDescriptionCultureMapper dalProductModelProductDescriptionCultureMapper)
     : base()
 {
     this.productModelRepository            = productModelRepository;
     this.productModelModelValidator        = productModelModelValidator;
     this.bolProductModelMapper             = bolProductModelMapper;
     this.dalProductModelMapper             = dalProductModelMapper;
     this.bolProductMapper                  = bolProductMapper;
     this.dalProductMapper                  = dalProductMapper;
     this.bolProductModelIllustrationMapper = bolProductModelIllustrationMapper;
     this.dalProductModelIllustrationMapper = dalProductModelIllustrationMapper;
     this.bolProductModelProductDescriptionCultureMapper = bolProductModelProductDescriptionCultureMapper;
     this.dalProductModelProductDescriptionCultureMapper = dalProductModelProductDescriptionCultureMapper;
     this.logger = logger;
 }
コード例 #2
0
 public ProductModelService(
     ILogger <IProductModelRepository> logger,
     IProductModelRepository productModelRepository,
     IApiProductModelRequestModelValidator productModelModelValidator,
     IBOLProductModelMapper bolproductModelMapper,
     IDALProductModelMapper dalproductModelMapper,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper,
     IBOLProductModelIllustrationMapper bolProductModelIllustrationMapper,
     IDALProductModelIllustrationMapper dalProductModelIllustrationMapper,
     IBOLProductModelProductDescriptionCultureMapper bolProductModelProductDescriptionCultureMapper,
     IDALProductModelProductDescriptionCultureMapper dalProductModelProductDescriptionCultureMapper
     )
     : base(logger,
            productModelRepository,
            productModelModelValidator,
            bolproductModelMapper,
            dalproductModelMapper,
            bolProductMapper,
            dalProductMapper,
            bolProductModelIllustrationMapper,
            dalProductModelIllustrationMapper,
            bolProductModelProductDescriptionCultureMapper,
            dalProductModelProductDescriptionCultureMapper)
 {
 }
コード例 #3
0
ファイル: ProductService.cs プロジェクト: codenesium/samples
        public ProductService(
            ILogger <IProductService> logger,
            MediatR.IMediator mediator,
            IProductRepository productRepository,
            IApiProductServerRequestModelValidator productModelValidator,
            IDALProductMapper dalProductMapper)
            : base()
        {
            this.ProductRepository     = productRepository;
            this.ProductModelValidator = productModelValidator;
            this.DalProductMapper      = dalProductMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
コード例 #4
0
 public AbstractProductService(
     ILogger logger,
     IProductRepository productRepository,
     IApiProductRequestModelValidator productModelValidator,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper,
     IBOLBillOfMaterialMapper bolBillOfMaterialMapper,
     IDALBillOfMaterialMapper dalBillOfMaterialMapper,
     IBOLProductCostHistoryMapper bolProductCostHistoryMapper,
     IDALProductCostHistoryMapper dalProductCostHistoryMapper,
     IBOLProductInventoryMapper bolProductInventoryMapper,
     IDALProductInventoryMapper dalProductInventoryMapper,
     IBOLProductListPriceHistoryMapper bolProductListPriceHistoryMapper,
     IDALProductListPriceHistoryMapper dalProductListPriceHistoryMapper,
     IBOLProductProductPhotoMapper bolProductProductPhotoMapper,
     IDALProductProductPhotoMapper dalProductProductPhotoMapper,
     IBOLProductReviewMapper bolProductReviewMapper,
     IDALProductReviewMapper dalProductReviewMapper,
     IBOLTransactionHistoryMapper bolTransactionHistoryMapper,
     IDALTransactionHistoryMapper dalTransactionHistoryMapper,
     IBOLWorkOrderMapper bolWorkOrderMapper,
     IDALWorkOrderMapper dalWorkOrderMapper)
     : base()
 {
     this.productRepository                = productRepository;
     this.productModelValidator            = productModelValidator;
     this.bolProductMapper                 = bolProductMapper;
     this.dalProductMapper                 = dalProductMapper;
     this.bolBillOfMaterialMapper          = bolBillOfMaterialMapper;
     this.dalBillOfMaterialMapper          = dalBillOfMaterialMapper;
     this.bolProductCostHistoryMapper      = bolProductCostHistoryMapper;
     this.dalProductCostHistoryMapper      = dalProductCostHistoryMapper;
     this.bolProductInventoryMapper        = bolProductInventoryMapper;
     this.dalProductInventoryMapper        = dalProductInventoryMapper;
     this.bolProductListPriceHistoryMapper = bolProductListPriceHistoryMapper;
     this.dalProductListPriceHistoryMapper = dalProductListPriceHistoryMapper;
     this.bolProductProductPhotoMapper     = bolProductProductPhotoMapper;
     this.dalProductProductPhotoMapper     = dalProductProductPhotoMapper;
     this.bolProductReviewMapper           = bolProductReviewMapper;
     this.dalProductReviewMapper           = dalProductReviewMapper;
     this.bolTransactionHistoryMapper      = bolTransactionHistoryMapper;
     this.dalTransactionHistoryMapper      = dalTransactionHistoryMapper;
     this.bolWorkOrderMapper               = bolWorkOrderMapper;
     this.dalWorkOrderMapper               = dalWorkOrderMapper;
     this.logger = logger;
 }
コード例 #5
0
 public ProductService(
     ILogger <IProductRepository> logger,
     IProductRepository productRepository,
     IApiProductRequestModelValidator productModelValidator,
     IBOLProductMapper bolproductMapper,
     IDALProductMapper dalproductMapper,
     IBOLBillOfMaterialMapper bolBillOfMaterialMapper,
     IDALBillOfMaterialMapper dalBillOfMaterialMapper,
     IBOLProductCostHistoryMapper bolProductCostHistoryMapper,
     IDALProductCostHistoryMapper dalProductCostHistoryMapper,
     IBOLProductInventoryMapper bolProductInventoryMapper,
     IDALProductInventoryMapper dalProductInventoryMapper,
     IBOLProductListPriceHistoryMapper bolProductListPriceHistoryMapper,
     IDALProductListPriceHistoryMapper dalProductListPriceHistoryMapper,
     IBOLProductProductPhotoMapper bolProductProductPhotoMapper,
     IDALProductProductPhotoMapper dalProductProductPhotoMapper,
     IBOLProductReviewMapper bolProductReviewMapper,
     IDALProductReviewMapper dalProductReviewMapper,
     IBOLTransactionHistoryMapper bolTransactionHistoryMapper,
     IDALTransactionHistoryMapper dalTransactionHistoryMapper,
     IBOLWorkOrderMapper bolWorkOrderMapper,
     IDALWorkOrderMapper dalWorkOrderMapper
     )
     : base(logger,
            productRepository,
            productModelValidator,
            bolproductMapper,
            dalproductMapper,
            bolBillOfMaterialMapper,
            dalBillOfMaterialMapper,
            bolProductCostHistoryMapper,
            dalProductCostHistoryMapper,
            bolProductInventoryMapper,
            dalProductInventoryMapper,
            bolProductListPriceHistoryMapper,
            dalProductListPriceHistoryMapper,
            bolProductProductPhotoMapper,
            dalProductProductPhotoMapper,
            bolProductReviewMapper,
            dalProductReviewMapper,
            bolTransactionHistoryMapper,
            dalTransactionHistoryMapper,
            bolWorkOrderMapper,
            dalWorkOrderMapper)
 {
 }
コード例 #6
0
 public ProductSubcategoryService(
     ILogger <IProductSubcategoryRepository> logger,
     IProductSubcategoryRepository productSubcategoryRepository,
     IApiProductSubcategoryRequestModelValidator productSubcategoryModelValidator,
     IBOLProductSubcategoryMapper bolproductSubcategoryMapper,
     IDALProductSubcategoryMapper dalproductSubcategoryMapper,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper)
     : base(logger,
            productSubcategoryRepository,
            productSubcategoryModelValidator,
            bolproductSubcategoryMapper,
            dalproductSubcategoryMapper,
            bolProductMapper,
            dalProductMapper)
 {
 }
コード例 #7
0
 public AbstractProductSubcategoryService(
     ILogger logger,
     IProductSubcategoryRepository productSubcategoryRepository,
     IApiProductSubcategoryRequestModelValidator productSubcategoryModelValidator,
     IBOLProductSubcategoryMapper bolProductSubcategoryMapper,
     IDALProductSubcategoryMapper dalProductSubcategoryMapper,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper)
     : base()
 {
     this.ProductSubcategoryRepository     = productSubcategoryRepository;
     this.ProductSubcategoryModelValidator = productSubcategoryModelValidator;
     this.BolProductSubcategoryMapper      = bolProductSubcategoryMapper;
     this.DalProductSubcategoryMapper      = dalProductSubcategoryMapper;
     this.BolProductMapper = bolProductMapper;
     this.DalProductMapper = dalProductMapper;
     this.logger           = logger;
 }
コード例 #8
0
 public UnitMeasureService(
     ILogger <IUnitMeasureRepository> logger,
     IUnitMeasureRepository unitMeasureRepository,
     IApiUnitMeasureRequestModelValidator unitMeasureModelValidator,
     IBOLUnitMeasureMapper bolunitMeasureMapper,
     IDALUnitMeasureMapper dalunitMeasureMapper,
     IBOLBillOfMaterialMapper bolBillOfMaterialMapper,
     IDALBillOfMaterialMapper dalBillOfMaterialMapper,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper)
     : base(logger,
            unitMeasureRepository,
            unitMeasureModelValidator,
            bolunitMeasureMapper,
            dalunitMeasureMapper,
            bolBillOfMaterialMapper,
            dalBillOfMaterialMapper,
            bolProductMapper,
            dalProductMapper)
 {
 }
コード例 #9
0
 public AbstractUnitMeasureService(
     ILogger logger,
     IUnitMeasureRepository unitMeasureRepository,
     IApiUnitMeasureRequestModelValidator unitMeasureModelValidator,
     IBOLUnitMeasureMapper bolUnitMeasureMapper,
     IDALUnitMeasureMapper dalUnitMeasureMapper,
     IBOLBillOfMaterialMapper bolBillOfMaterialMapper,
     IDALBillOfMaterialMapper dalBillOfMaterialMapper,
     IBOLProductMapper bolProductMapper,
     IDALProductMapper dalProductMapper)
     : base()
 {
     this.unitMeasureRepository     = unitMeasureRepository;
     this.unitMeasureModelValidator = unitMeasureModelValidator;
     this.bolUnitMeasureMapper      = bolUnitMeasureMapper;
     this.dalUnitMeasureMapper      = dalUnitMeasureMapper;
     this.bolBillOfMaterialMapper   = bolBillOfMaterialMapper;
     this.dalBillOfMaterialMapper   = dalBillOfMaterialMapper;
     this.bolProductMapper          = bolProductMapper;
     this.dalProductMapper          = dalProductMapper;
     this.logger = logger;
 }