当前位置: 首页>>代码示例>>C#>>正文


C# IOrderProcessor类代码示例

本文整理汇总了C#中IOrderProcessor的典型用法代码示例。如果您正苦于以下问题:C# IOrderProcessor类的具体用法?C# IOrderProcessor怎么用?C# IOrderProcessor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


IOrderProcessor类属于命名空间,在下文中一共展示了IOrderProcessor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: CartController

 //El constructor va a pedir que le pasen el producto
 public CartController(
     IProductRepository productRepository,
     IOrderProcessor orderProcessor)
 {
     _productRepository = productRepository;
     _orderProcessor = orderProcessor;
 }
开发者ID:jesulink2514,项目名称:LearnITStore,代码行数:8,代码来源:CartController.cs

示例2: PracticumInputProcessor

 public PracticumInputProcessor(TextReader input, TextWriter output, IOrderProcessor orderProcessor)
 {
     //Error = error;
     Output = output;
     Input = input;
     this.orderProcessor = orderProcessor;
 }
开发者ID:jstrafford4,项目名称:NeverEatLunch,代码行数:7,代码来源:PracticumInputProcessor.cs

示例3: CartController

 public CartController(IProductRepository repository, IOrderProcessor orderProcessor, IAddressCustomerRepository addressCustomerRepository, IUserRepository userRepository, IAddressRepository addressRepository)
 {
     _repository = repository;
     _orderProcessor = orderProcessor;
     _addressCustomerRepository = addressCustomerRepository;
     _userRepository = userRepository;
     _addressRepository = addressRepository;
 }
开发者ID:kaban4ik1994,项目名称:E-shop,代码行数:8,代码来源:CartController.cs

示例4: CartController

 public CartController(IProductRepository repo, IOrderRepository orderRepo, IOrderItemRepository orderItemRepo, IOrderProcessor proc, IAddressRepository repoAddress, ICustomerRepository repoCustomer)
 {
     repository = repo;
     orderRepository = orderRepo;
     orderItemRepository = orderItemRepo;
     orderProcessor = proc;
     repositoryAddress = repoAddress;
     repositoryCustomer = repoCustomer;
 }
开发者ID:richardnevinstudentncirlie,项目名称:WebStore,代码行数:9,代码来源:CartController.cs

示例5: OrderController

 public OrderController(IGetProductService getProductService,
     IHttpSession session, IOrderProcessor orderProcessor,
     IGetObjectService<Order> getOrderService,
     ISaveObjectService<Order> saveOrderService)
 {
     _session = session;
     _orderProcessor = orderProcessor;
     _getOrderService = getOrderService;
     _saveOrderService = saveOrderService;
     _getProductService = getProductService;
 }
开发者ID:JonKruger,项目名称:MvcStarterProject,代码行数:11,代码来源:OrderController.cs

示例6:

 public CheckoutController
     (
         IOrderProcessor orderProcessor,
         IProductRepository product,
         IOrderRepository order,
         IOrderStatusRepository orderStatus,
         IOrderItemRepository orderItem
     )
 {
     _orderProcessor = orderProcessor;
     _product = product;
     _order = order;
     _orderStatus = orderStatus;
     _orderItem = orderItem;
 }
开发者ID:crew1248,项目名称:web_store,代码行数:15,代码来源:CheckoutController.cs

示例7: Establish_context

        protected override void Establish_context()
        {
            var productRepository = ObjectFactory.GetInstance<ISaveObjectService<Product>>();
            var orderRepository = ObjectFactory.GetInstance<ISaveObjectService<Order>>();

            var product = new Product { Price = 10, IsActive = true, Name = "foo" };
            productRepository.Create(product);

            _order = new Order
                         {
                             StateCode = "OH",
                             Products = new List<Product> { product }
                         };
            orderRepository.Create(_order);
            _orderProcessor = ObjectFactory.GetInstance<IOrderProcessor>();
        }
开发者ID:JonKruger,项目名称:MvcStarterProject,代码行数:16,代码来源:OrderProcessorTests.cs

示例8: CartController

 public CartController(IOrderProcessor orderProcessor)
 {
     _orderProcessor = orderProcessor;
 }
开发者ID:maximzyl,项目名称:AutoDealer,代码行数:4,代码来源:CartController.cs

示例9: CartController

 public CartController(IProductRepository rep, IOrderProcessor proc)
 {
     this.repository = rep;
     this.orderProcessor = proc;
 }
开发者ID:akhuang,项目名称:Asp.net-MVC-3,代码行数:5,代码来源:CartController.cs

示例10: CartApplicationService

 public CartApplicationService(IOrderProcessor processor)
 {
     orderRepository = processor;
 }
开发者ID:iHunt101,项目名称:POS-1,代码行数:4,代码来源:CartApplicationService.cs

示例11: CartController

 public CartController(IProductRepository repo, IOrderProcessor orderProcessorParam)
 {
     repository = repo;
     orderProcessor = orderProcessorParam;
 }
开发者ID:Shiloff,项目名称:SportsStore,代码行数:5,代码来源:CartController.cs

示例12: CartController

 public CartController(IProductsRepository repo,IOrderProcessor order)
 {
     repository = repo;
     orderprocessor = order;
 }
开发者ID:vanhp,项目名称:SportStore,代码行数:5,代码来源:CartController.cs

示例13: CartController

 public CartController(IProductRepository repo, IOrderProcessor processor)
 {
     _repository = repo;
     _orderProcessor = processor;
 }
开发者ID:ankitbansalniit,项目名称:OnlineShoppingStoreWithMVC5,代码行数:5,代码来源:CartController.cs

示例14: PaymentProcessorController

 public PaymentProcessorController(IOrderProcessor proc)
 {
     orderProcessor = proc;
 }
开发者ID:your-slave,项目名称:web-store,代码行数:4,代码来源:PaymentProcessorController.cs

示例15: OrderController

 public OrderController(IOrderRepository repository, IOrderProcessor processor,ISaveOrderProcessor saveProcessor)
 {
     orderRepository = repository;
     orderProcessor = processor;
     saveOrderProcessor = saveProcessor;
 }
开发者ID:AlexanderVasilenko,项目名称:OrderMVC,代码行数:6,代码来源:OrderController.cs


注:本文中的IOrderProcessor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。