public ShoppingListHub(IUserContext userContext, IShoppingListService shoppingListService, IListItemService listItemService, IUserService userService)
 {
     _userContext         = userContext;
     _shoppingListService = shoppingListService;
     _listItemService     = listItemService;
     _userService         = userService;
 }
 public SPListService(ICredentialsManager credentials, IListDataService listDataService, IListItemService listItemService, IListItemDataService listItemDataService)
 {
     this.credentials         = credentials;
     this.listDataService     = listDataService;
     this.listItemDataService = listItemDataService;
     this.listItemService     = listItemService;
 }
 internal Documents(IListDataService listDataService, IListItemService listItemService, IFileService fileService, ICacheService cacheService)
 {
     this.listDataService = listDataService;
     this.listItemService = listItemService;
     this.fileService     = fileService;
     this.cacheService    = cacheService;
 }
Exemple #4
0
 public ListItemController(IWorkContextAccessor workContextAccessor, IListItemService listItemService, IListFieldService listFieldService, IListService listService, IListCategoryService listCategoryService)
     : base(workContextAccessor)
 {
     this.listItemService     = listItemService;
     this.listFieldService    = listFieldService;
     this.listService         = listService;
     this.listCategoryService = listCategoryService;
 }
Exemple #5
0
 public ListHub(ListNestDbContext dbcontext,
                IListService listService,
                IListItemService listItemService,
                IMapper mapper)
 {
     _dbcontext       = dbcontext;
     _listService     = listService;
     _listItemService = listItemService;
     _mapper          = mapper;
 }
 public RecipeController(IRecipeRepository recipeRepository,
                         IRepository repository,
                         IListItemService listItemService,
                         UserManager <RecipeUser> userManager)
 {
     _recipeRepository = recipeRepository;
     _repository       = repository;
     _listItemService  = listItemService;
     _userManager      = userManager;
 }
 public CommentController(
     IWorkContextAccessor workContextAccessor,
     IListService listService,
     IListItemService listItemService,
     IListItemCommentService commentService)
     : base(workContextAccessor)
 {
     this.listService     = listService;
     this.listItemService = listItemService;
     this.commentService  = commentService;
 }
 public HomeController(IWorkContextAccessor workContextAccessor,
                       IListService listService,
                       IListItemService listItemService,
                       IListItemCommentService listItemCommentService,
                       IListCategoryService listCategoryService,
                       IListFieldService listFieldService,
                       IListCategoryPathConstraint listCategoryPathConstraint)
     : base(workContextAccessor)
 {
     this.listService                = listService;
     this.listItemService            = listItemService;
     this.listItemCommentService     = listItemCommentService;
     this.listCategoryService        = listCategoryService;
     this.listFieldService           = listFieldService;
     this.listCategoryPathConstraint = listCategoryPathConstraint;
 }
        public static Guid GetItemUniqueId(this IListItemService listItemService, string token, Guid listId)
        {
            if (string.IsNullOrEmpty(token))
            {
                return(Guid.Empty);
            }

            SPListItem listItem;

            // Try get item by incremental id
            int lookupId;

            if (int.TryParse(token, out lookupId) &&
                (listItem = listItemService.Get(listId, new ItemGetQuery(lookupId))) != null)
            {
                listItemService.Add(listId, new ItemImportQuery(listItem.ContentId));
                return(listItem.UniqueId);
            }

            return(Guid.Empty);
        }
 public StartPageViewModel(IListItemService listItemService, INavigationService navigationService)
 {
     _listItemService   = listItemService;
     _navigationService = navigationService;
 }
 public ShopListController(IShopListRepository shopListRepository, IListItemService listItemService)
 {
     _shopListRepository = shopListRepository;
     _listItemService    = listItemService;
 }
Exemple #12
0
 public CartController(IListItemService listItemService)
 {
     _listItemService = listItemService;
     shoppingCart     = new ShoppingCart();
 }
Exemple #13
0
 internal ListItems(IListItemService listItemService, ICacheService cacheService)
 {
     this.listItemService = listItemService;
     this.cacheService    = cacheService;
 }
 public CarouselParentPageViewModel(IListItemService listItemService, INavigationService navigationService, ICachedMediaRepository cachedMediaRepository)
 {
     _listItemService       = listItemService;
     _navigationService     = navigationService;
     _cachedMediaRepository = cachedMediaRepository;
 }
Exemple #15
0
 public ListItemsController(ShoppingListDbContext context, IListItemService listItemService, IProductService productService)
 {
     _context         = context;
     _productService  = productService;
     _listItemService = listItemService;
 }
Exemple #16
0
 public ShoppingListsController(ShoppingListDbContext context, IShoppingListService shoppingListService, IListItemService listItemService)
 {
     _shoppingListService = shoppingListService;
     _listItemService     = listItemService;
 }