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


C# Request.map方法代码示例

本文整理汇总了C#中Request.map方法的典型用法代码示例。如果您正苦于以下问题:C# Request.map方法的具体用法?C# Request.map怎么用?C# Request.map使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Request的用法示例。


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

示例1: run

 public void run(Request request)
 {
     renderer.display(repository.get_products_in(request.map<Department>()));
 }
开发者ID:cpassante,项目名称:gas2412011,代码行数:4,代码来源:ViewProductsInDepartment.cs

示例2: run

 public void run(Request request)
 {
     response_engine.display(store_catalog.get_products_for(request.map<Department>()));
 }
开发者ID:raquila,项目名称:nycs_feb_2011,代码行数:4,代码来源:ViewTheProductsIntheDepartment.cs

示例3: process

 public void process(Request request)
 {
     cart_tasks.add(request.map<Product>());
     response_engine.display(cart_tasks.get_all_products()); ;
 }
开发者ID:maodd,项目名称:nbdn_store,代码行数:5,代码来源:AddProductToCart.cs

示例4: process

 public void process(Request request)
 {
     response_engine.display(catalog_tasks.get_all_sub_departments_in_department(
         (request.map<Department>())));
 }
开发者ID:maodd,项目名称:nbdn_store,代码行数:5,代码来源:ViewSubDepartmentsInDepartment.cs

示例5: process

 public void process(Request request)
 {
     shopping_tasks.add_to_cart(request.map<Product>());
 }
开发者ID:stgwilli,项目名称:nbdn,代码行数:4,代码来源:AddProductToCart.cs

示例6: run

 public void run(Request request)
 {
     tasks.save(request.map<Customer>());
 }
开发者ID:noronha1978,项目名称:guards_feb_2011,代码行数:4,代码来源:AddNewCustomer.cs

示例7: process

 public void process(Request request)
 {
     response_engine.display(repository.get_products_for_department(request.map<Department>()));
 }
开发者ID:toddlangdon,项目名称:nbdn_store,代码行数:4,代码来源:ViewProductsInADepartment.cs

示例8: run

 public void run(Request request)
 {
     viewer.display(store_catalog.get_products_belonging_to(request.map<Department>()));
 }
开发者ID:noronha1978,项目名称:guards_feb_2011,代码行数:4,代码来源:ViewProductsInADepartment.cs

示例9: process

 public void process(Request request)
 {
     catalog_tasks.add_item_to_shopping_cart(request.map<Product>());
 }
开发者ID:mathewbeno,项目名称:nbdn_store,代码行数:4,代码来源:AddItemToShoppingCart.cs

示例10: process

 public void process(Request request)
 {
     rendering_gateway.render(product_repository.get_the_products_in(request.map<Department>()));
 }
开发者ID:holstdi,项目名称:uks_mar_2011,代码行数:4,代码来源:ViewTheProductsInADepartment.cs

示例11: process

 public void process(Request request)
 {
     response_engine.display(catalog_tasks.get_the_products_in(request.map<DepartmentItem>()));
 }
开发者ID:pconway,项目名称:nbdn_store,代码行数:4,代码来源:ViewProductsInDepartments.cs

示例12: process

 public void process(Request request)
 {
     response_engine.handle(repository.get_all_sub_departments_for(request.map<Department>()));
 }
开发者ID:kmaddocks,项目名称:nbdn,代码行数:4,代码来源:ViewSubDepartments.cs

示例13: process

 public void process(Request request)
 {
     response_engine.display(catalog.get_all_products_in(request.map<Department>()));
 }
开发者ID:kaungyam,项目名称:nbdn_store,代码行数:4,代码来源:ViewProducts.cs

示例14: process

 public void process(Request request)
 {
     response_engine.display(catalog_browsing_tasks.get_the_sub_departments_in(request.map<Department>()));
 }
开发者ID:toddlangdon,项目名称:nbdn_store,代码行数:4,代码来源:ViewSubDepartmentsInADepartment.cs

示例15: process

 public void process(Request request)
 {
     cart_tasks.add_item(request.map<CartItem>());
 }
开发者ID:craigstjean,项目名称:nbdn_store,代码行数:4,代码来源:AddProductToCart.cs


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