示例#1
0
 public ProductController(IProductManager productManager, 
     IClassesManager classesManager,
     IProductServiceFactory productServiceFactory)
 {
     _ProductManager = productManager;
     _ClassesManager = classesManager;
     _ProductServiceFactory= productServiceFactory;
 }
示例#2
0
 public ProductController(IProductManager productManager,
                          IClassesManager classesManager,
                          IProductServiceFactory productServiceFactory)
 {
     _ProductManager        = productManager;
     _ClassesManager        = classesManager;
     _ProductServiceFactory = productServiceFactory;
 }
示例#3
0
 public ProductApplicationService(IProductServiceFactory serviceFactory)
 {
     this.serviceFactory = serviceFactory ?? throw new ArgumentNullException(nameof(serviceFactory));
 }