本文整理汇总了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;
}
示例2: CatalogSearchServiceImpl
public CatalogSearchServiceImpl(Func<ICatalogRepository> catalogRepositoryFactory, IItemService itemService, ICatalogService catalogService, ICategoryService categoryService)
{
_catalogRepositoryFactory = catalogRepositoryFactory;
_itemService = itemService;
_catalogService = catalogService;
_categoryService = categoryService;
}
示例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;
}
示例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();
}
示例5: PricingModuleController
public PricingModuleController(IPricingService pricingService, IItemService itemService, ICatalogService catalogService, IPricingExtensionManager extensionManager)
{
_extensionManager = extensionManager;
_pricingService = pricingService;
_itemService = itemService;
_catalogService = catalogService;
}
示例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);
}
}
示例7: ShoppingCartServiceImpl
public ShoppingCartServiceImpl(Func<ICartRepository> repositoryFactory, IEventPublisher<CartChangeEvent> eventPublisher, IItemService productService, IDynamicPropertyService dynamicPropertyService)
{
_repositoryFactory = repositoryFactory;
_eventPublisher = eventPublisher;
_productService = productService;
_dynamicPropertyService = dynamicPropertyService;
}
示例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();
}
示例9: HomeController
public HomeController(IFeedService feedService, IFolderService folderService, IItemService itemService, FeedsDbEntities context)
{
_feedService = feedService;
_folderService = folderService;
_itemService = itemService;
_context = context;
}
示例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);
}
示例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;
}
示例12: ReceivingController
public ReceivingController()
{
service = IoC.Resolve<IReceivingService>("ReceivingService");
poService = IoC.Resolve<IPurchaseOrderService>("PurchaseOrderService");
itemService = IoC.Resolve<IItemService>("ItemService");
lotService = IoC.Resolve<ILotNumberService>("LotNumberService");
}
示例13: ItemBrowsingService
public ItemBrowsingService(IItemService itemService, ISearchProvider searchService, IBlobUrlResolver blobUrlResolver = null, ISearchConnection searchConnection = null)
{
_searchProvider = searchService;
_searchConnection = searchConnection;
_itemService = itemService;
_blobUrlResolver = blobUrlResolver;
}
示例14: CatalogModuleProductsController
public CatalogModuleProductsController(IItemService itemsService, IPropertyService propertyService, IBlobUrlResolver blobUrlResolver, ICatalogService catalogService, ISkuGenerator skuGenerator)
{
_itemsService = itemsService;
_propertyService = propertyService;
_blobUrlResolver = blobUrlResolver;
_catalogService = catalogService;
_skuGenerator = skuGenerator;
}
示例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;
}