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


C# IItemService类代码示例

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


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


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