• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# IOrderProcessor类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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


示例16: CartController

 public CartController(ICakesRepository cakesRepository, IOrderProcessor orderProcessor)
 {
     this.cakesRepository = cakesRepository;
     this.orderProcessor = orderProcessor;
 }
开发者ID:dv-lebedev,项目名称:cake-shop,代码行数:5,代码来源:CartController.cs


示例17: OrderPlacedCommand

 public OrderPlacedCommand(IOrderProcessor orderProcessor, IEvents events)
 {
     this.orderProcessor = orderProcessor;
     this.events = events;
 }
开发者ID:HK-Zhang,项目名称:Grains,代码行数:5,代码来源:IEvents.cs


示例18: CartController

 public CartController(IGameRepository repository, IOrderProcessor orderProcessor)
 {
     _repository = repository;
     _orderProcessor = orderProcessor;
 }
开发者ID:VitalyKorolyov,项目名称:GameStore,代码行数:5,代码来源:CartController.cs


示例19: Remove

		public void Remove(IOrderProcessor processor) {
			_processList.Remove(processor);
		}
开发者ID:xcrash,项目名称:cuyahogacontrib-Cuyahoga.Modules.ECommerce,代码行数:3,代码来源:CompositeOrderProcessor.cs


示例20: Add

		public void Add(IOrderProcessor processor) {
			_processList.Add(processor);
		}
开发者ID:xcrash,项目名称:cuyahogacontrib-Cuyahoga.Modules.ECommerce,代码行数:3,代码来源:CompositeOrderProcessor.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# IOrderRepository类代码示例发布时间:2022-05-24
下一篇:
C# IOrderProcessingService类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap