コード例 #1
0
 public ProductController(IGetProductListQuery listQuery, IGetProductDetailsQuery detailsQuery,
                          IUserProductsRepositoryFacade userProductsRepositoryFacade, IUserProductsFactory userProductsFactory)
 {
     _listQuery    = listQuery;
     _detailsQuery = detailsQuery;
     _userProductsRepositoryFacade = userProductsRepositoryFacade;
     _userProductsFactory          = userProductsFactory;
 }
コード例 #2
0
 public ProductsController(
     IGetProductListQuery getProductListQuery,
     IGetProductDetailQuery getProductDetailQuery,
     ICreateProductCommand createProductCommand)
 {
     _getProductListQuery   = getProductListQuery;
     _getProductDetailQuery = getProductDetailQuery;
     _createProductCommand  = createProductCommand;
 }
コード例 #3
0
 public ProductController(IGetProductListQuery getProductListQuery, ICreateProductViewModelFactory viewModelFactory,
                          ICreateProductCommand createProductCommand, IDeleteProductCommand deleteProductCommand,
                          IEditProductViewModelFactory editProductViewModelFactory, IUpdateProductCommand updateProductCommand)
 {
     this.getProductListQuery         = getProductListQuery;
     this.viewModelFactory            = viewModelFactory;
     this.createProductCommand        = createProductCommand;
     this.deleteProductCommand        = deleteProductCommand;
     this.editProductViewModelFactory = editProductViewModelFactory;
     this.updateProductCommand        = updateProductCommand;
 }
コード例 #4
0
ファイル: ProductController.cs プロジェクト: flaviogf/courses
 public ProductController(IGetProductListQuery getProductListQuery)
 {
     _getProductListQuery = getProductListQuery;
 }
 public CreateSaleViewModelFactory(IGetProductListQuery getProductListQuery)
 {
     this.getProductListQuery = getProductListQuery;
 }