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

C# IItemService类代码示例

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

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



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

示例1: VCGoogleProductProvider

		public VCGoogleProductProvider(IItemService itemService, IPricingService pricingService, IBlobUrlResolver assetUrlResolver, ICatalogSearchService catalogSearchService)
        {
            _itemService = itemService;
            _pricingService = pricingService;
            _assetUrlResolver = assetUrlResolver;
            _catalogSearchService = catalogSearchService;
        }
开发者ID:rajendra1809,项目名称:VirtoCommerce,代码行数:7,代码来源:VCGoogleProductProvider.cs


示例2: CatalogSearchServiceImpl

        public CatalogSearchServiceImpl(Func<ICatalogRepository> catalogRepositoryFactory, IItemService itemService, ICatalogService catalogService, ICategoryService categoryService)
        {
            _catalogRepositoryFactory = catalogRepositoryFactory;
            _itemService = itemService;
            _catalogService = catalogService;
            _categoryService = categoryService;
		}
开发者ID:adwardliu,项目名称:vc-community,代码行数:7,代码来源:CatalogSearchServiceImpl.cs


示例3: VDeleteObject

 public ItemType VDeleteObject(ItemType itemType, IItemService _itemService, IMaintenanceService _maintenanceService)
 {
     VHasMaintenance(itemType, _maintenanceService);
     if (itemType.Errors.Any()) { return itemType; }
     VHasItem(itemType, _itemService);
     return itemType;
 }
开发者ID:,项目名称:,代码行数:7,代码来源:


示例4: CategoryListViewModel

        /// <summary>
        /// Initializes a new instance of the <see cref="CategoryListViewModel"/> class.
        /// </summary>
        /// <param name="listType">The type of list.</param>
        /// <param name="itemService">An item service.</param>
        public CategoryListViewModel(string listType, IItemService itemService)
            : base(listType, itemService)
        {
            BuildCategoriesList();

            RegisterForMessages();
        }
开发者ID:yadyn,项目名称:ItsBeen,代码行数:12,代码来源:CategoryListViewModel.cs


示例5: PricingModuleController

 public PricingModuleController(IPricingService pricingService, IItemService itemService, ICatalogService catalogService, IPricingExtensionManager extensionManager)
 {
     _extensionManager = extensionManager;
     _pricingService = pricingService;
     _itemService = itemService;
     _catalogService = catalogService;
 }
开发者ID:sameerkattel,项目名称:vc-community,代码行数:7,代码来源:PricingModuleController.cs


示例6: ClientInitialize

        private void ClientInitialize()
        {
            try
            {
                if (!_initialized)
                {
                    _serverUri = new Uri(ItemServiceUrl);

                    Logger.Log("Initializing Client Service connection to {0}", _serverUri.AbsoluteUri);

                    WebHttpBinding webHttpBinding = new WebHttpBinding
                    {
                        OpenTimeout = TimeSpan.FromMilliseconds(5000),
                        SendTimeout = TimeSpan.FromMilliseconds(5000),
                        CloseTimeout = TimeSpan.FromMilliseconds(5000),
                    };

                    _httpFactory = new WebChannelFactory<IItemService>(webHttpBinding, _serverUri);
                    _httpProxy = _httpFactory.CreateChannel();

                    _initialized = true;
                }
            }
            catch (Exception ex)
            {
                Logger.Log("Exception in ClientInitialize() {0}", ex);
            }
        }
开发者ID:rrrix,项目名称:DiaCollectorPlugin,代码行数:28,代码来源:Connector.cs


示例7: ShoppingCartServiceImpl

        public ShoppingCartServiceImpl(Func<ICartRepository> repositoryFactory, IEventPublisher<CartChangeEvent> eventPublisher, IItemService productService, IDynamicPropertyService dynamicPropertyService)
		{
			_repositoryFactory = repositoryFactory;
			_eventPublisher = eventPublisher;
			_productService = productService;
            _dynamicPropertyService = dynamicPropertyService;
        }
开发者ID:adwardliu,项目名称:vc-community,代码行数:7,代码来源:ShoppingCartServiceImpl.cs


示例8: MainViewModel

        /// <summary>
        /// Initializes a new instance of the MainViewModel class.
        /// </summary>
        /// <param name="listViews">A list of views to display.</param>
        /// <param name="messageBoxService">A message box service.</param>
        /// <param name="itemService">An item service.</param>
        /// <param name="navigationService">A navigation service.</param>
        public MainViewModel(IEnumerable<object> listViews, IMessageBoxService messageBoxService,
			IItemService itemService, INavigationService navigationService)
        {
            if (messageBoxService == null)
                throw new ArgumentNullException("messageBoxService");
            if (itemService == null)
                throw new ArgumentNullException("itemService");
            if (navigationService == null)
                throw new ArgumentNullException("navigationService");

            _messageBoxService = messageBoxService;
            _itemService = itemService;
            _navigationService = navigationService;

            _listViews = new ObservableCollection<object>();

            if (listViews != null)
            {
                foreach (object obj in listViews)
                {
                    _listViews.Add(obj);
                }
            }

            RegisterForMessages();
        }
开发者ID:yadyn,项目名称:ItsBeen,代码行数:33,代码来源:MainViewModel.cs


示例9: HomeController

 public HomeController(IFeedService feedService, IFolderService folderService, IItemService itemService, FeedsDbEntities context)
 {
     _feedService = feedService;
     _folderService = folderService;
     _itemService = itemService;
     _context = context;
 }
开发者ID:benmcevoy,项目名称:Rss,代码行数:7,代码来源:HomeController.cs


示例10: ValidUpdateObject

 public bool ValidUpdateObject(Maintenance maintenance, IItemService _itemService, IItemTypeService _itemTypeService,
                           IUserService _userService, ICustomerService _customerService, IMaintenanceService _maintenanceService)
 {
     maintenance.Errors.Clear();
     VUpdateObject(maintenance, _itemService, _itemTypeService, _userService, _customerService, _maintenanceService);
     return isValid(maintenance);
 }
开发者ID:,项目名称:,代码行数:7,代码来源:


示例11: ManageController

        public ManageController(
            IUnitOfWorkAsync unitOfWorkAsync,
            ISettingService settingService,
            ICategoryService categoryService,
            IItemService itemService,
            IPictureService pictureService,
            IItemPictureService itemPictureService,
            IOrderService orderService,
            ICustomFieldService customFieldService,
            ICustomFieldCategoryService customFieldCategoryService,
            ICustomFieldItemService customFieldItemService,
            ISettingDictionaryService settingDictionaryService,
            IItemStatService itemStatService,
            DataCacheService dataCacheService,
            SqlDbService sqlDbService)
        {
            _settingService = settingService;
            _settingDictionaryService = settingDictionaryService;

            _categoryService = categoryService;
            _itemService = itemService;
            _pictureService = pictureService;
            _itemPictureService = itemPictureService;
            _orderService = orderService;            
            
            _customFieldService = customFieldService;
            _customFieldCategoryService = customFieldCategoryService;
            _customFieldItemService = customFieldItemService;
            _itemStatService = itemStatService;

            _dataCacheService = dataCacheService;
            _sqlDbService = sqlDbService;

            _unitOfWorkAsync = unitOfWorkAsync;
        }
开发者ID:scharada,项目名称:beyourmarket,代码行数:35,代码来源:ManageController.cs


示例12: ReceivingController

 public ReceivingController()
 {
     service = IoC.Resolve<IReceivingService>("ReceivingService");
     poService = IoC.Resolve<IPurchaseOrderService>("PurchaseOrderService");
     itemService = IoC.Resolve<IItemService>("ItemService");
     lotService = IoC.Resolve<ILotNumberService>("LotNumberService");
 }
开发者ID:faisalkhanani,项目名称:360Accounting,代码行数:7,代码来源:ReceivingController.cs


示例13: ItemBrowsingService

 public ItemBrowsingService(IItemService itemService, ISearchProvider searchService, IBlobUrlResolver blobUrlResolver = null, ISearchConnection searchConnection = null)
 {
     _searchProvider = searchService;
     _searchConnection = searchConnection;
     _itemService = itemService;
     _blobUrlResolver = blobUrlResolver;
 }
开发者ID:adwardliu,项目名称:vc-community,代码行数:7,代码来源:ItemBrowsingService.cs


示例14: CatalogModuleProductsController

		public CatalogModuleProductsController(IItemService itemsService, IPropertyService propertyService, IBlobUrlResolver blobUrlResolver, ICatalogService catalogService, ISkuGenerator skuGenerator)
        {
            _itemsService = itemsService;
            _propertyService = propertyService;
			_blobUrlResolver = blobUrlResolver;
			_catalogService = catalogService;
			_skuGenerator = skuGenerator;
        }
开发者ID:rajendra1809,项目名称:VirtoCommerce,代码行数:8,代码来源:CatalogModuleProductsController.cs


示例15: CustomerOrderServiceImpl

		public CustomerOrderServiceImpl(Func<IOrderRepository> orderRepositoryFactory, IOperationNumberGenerator operationNumberGenerator, IEventPublisher<OrderChangeEvent> eventPublisher, IShoppingCartService shoppingCartService, IItemService productService)
		{
			_repositoryFactory = orderRepositoryFactory;
			_shoppingCartService = shoppingCartService;
			_operationNumberGenerator = operationNumberGenerator;
			_eventPublisher = eventPublisher;
			_productService = productService;
		}
开发者ID:alt-soft,项目名称:vc-community,代码行数:8,代码来源:CustomerOrderServiceImpl.cs


示例16: ItemController

 public ItemController(IItemService svc,
                       IAuctionMapper<Item, ItemListViewModel, CreateItemViewModel, EditItemViewModel> mapper,
                       IEventService eventSvc)
 {
     _svc = svc;
     _mapper = mapper;
     _eventSvc = eventSvc;
 }
开发者ID:danappleyard,项目名称:auction-csharp,代码行数:8,代码来源:ItemController.cs


示例17: CatalogModuleListEntryController

 public CatalogModuleListEntryController(ICatalogSearchService searchService,
                            ICategoryService categoryService,
                            IItemService itemService, IBlobUrlResolver blobUrlResolver)
 {
     _searchService = searchService;
     _categoryService = categoryService;
     _itemService = itemService;
     _blobUrlResolver = blobUrlResolver;
 }
开发者ID:n1njab0b,项目名称:vc-community,代码行数:9,代码来源:CatalogModuleListEntryController.cs


示例18: VHasItem

 public Customer VHasItem(Customer customer, IItemService _itemService)
 {
     IList<Item> list = _itemService.GetObjectsByCustomerId(customer.Id);
     if (list.Any())
     {
         customer.Errors.Add("Item", "Tidak boleh ada yang terasosiakan dengan customer");
     }
     return customer;
 }
开发者ID:,项目名称:,代码行数:9,代码来源:


示例19: CatalogExportImport

		public CatalogExportImport(ICatalogSearchService catalogSearchService,
			ICatalogService catalogService, ICategoryService categoryService, IItemService itemService, IPropertyService propertyService)
		{
			_catalogSearchService = catalogSearchService;
			_catalogService = catalogService;
			_categoryService = categoryService;
			_itemService = itemService;
			_propertyService = propertyService;
		}
开发者ID:rajendra1809,项目名称:VirtoCommerce,代码行数:9,代码来源:CatalogExportImport.cs


示例20: CatalogModuleListEntryController

 public CatalogModuleListEntryController(ICatalogSearchService searchService,
                            ICategoryService categoryService,
                            IItemService itemService, IBlobUrlResolver blobUrlResolver, ISecurityService securityService, IPermissionScopeService permissionScopeService)
     : base(securityService, permissionScopeService)
 {
     _searchService = searchService;
     _categoryService = categoryService;
     _itemService = itemService;
     _blobUrlResolver = blobUrlResolver;
 }
开发者ID:sameerkattel,项目名称:vc-community,代码行数:10,代码来源:CatalogModuleListEntryController.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# IIterator类代码示例发布时间:2022-05-24
下一篇:
C# IItemRepository类代码示例发布时间: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