コード例 #1
0
 public ShoppingListHub(IUserContext userContext, IShoppingListService shoppingListService, IListItemService listItemService, IUserService userService)
 {
     _userContext         = userContext;
     _shoppingListService = shoppingListService;
     _listItemService     = listItemService;
     _userService         = userService;
 }
コード例 #2
0
 public SPListService(ICredentialsManager credentials, IListDataService listDataService, IListItemService listItemService, IListItemDataService listItemDataService)
 {
     this.credentials         = credentials;
     this.listDataService     = listDataService;
     this.listItemDataService = listItemDataService;
     this.listItemService     = listItemService;
 }
コード例 #3
0
 internal Documents(IListDataService listDataService, IListItemService listItemService, IFileService fileService, ICacheService cacheService)
 {
     this.listDataService = listDataService;
     this.listItemService = listItemService;
     this.fileService     = fileService;
     this.cacheService    = cacheService;
 }
コード例 #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;
 }
コード例 #5
0
 public ListHub(ListNestDbContext dbcontext,
                IListService listService,
                IListItemService listItemService,
                IMapper mapper)
 {
     _dbcontext       = dbcontext;
     _listService     = listService;
     _listItemService = listItemService;
     _mapper          = mapper;
 }
コード例 #6
0
 public RecipeController(IRecipeRepository recipeRepository,
                         IRepository repository,
                         IListItemService listItemService,
                         UserManager <RecipeUser> userManager)
 {
     _recipeRepository = recipeRepository;
     _repository       = repository;
     _listItemService  = listItemService;
     _userManager      = userManager;
 }
コード例 #7
0
 public CommentController(
     IWorkContextAccessor workContextAccessor,
     IListService listService,
     IListItemService listItemService,
     IListItemCommentService commentService)
     : base(workContextAccessor)
 {
     this.listService     = listService;
     this.listItemService = listItemService;
     this.commentService  = commentService;
 }
コード例 #8
0
 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;
 }
コード例 #9
0
        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);
        }
コード例 #10
0
 public StartPageViewModel(IListItemService listItemService, INavigationService navigationService)
 {
     _listItemService   = listItemService;
     _navigationService = navigationService;
 }
 public ShopListController(IShopListRepository shopListRepository, IListItemService listItemService)
 {
     _shopListRepository = shopListRepository;
     _listItemService    = listItemService;
 }
コード例 #12
0
 public CartController(IListItemService listItemService)
 {
     _listItemService = listItemService;
     shoppingCart     = new ShoppingCart();
 }
コード例 #13
0
 internal ListItems(IListItemService listItemService, ICacheService cacheService)
 {
     this.listItemService = listItemService;
     this.cacheService    = cacheService;
 }
コード例 #14
0
 public CarouselParentPageViewModel(IListItemService listItemService, INavigationService navigationService, ICachedMediaRepository cachedMediaRepository)
 {
     _listItemService       = listItemService;
     _navigationService     = navigationService;
     _cachedMediaRepository = cachedMediaRepository;
 }
コード例 #15
0
 public ListItemsController(ShoppingListDbContext context, IListItemService listItemService, IProductService productService)
 {
     _context         = context;
     _productService  = productService;
     _listItemService = listItemService;
 }
コード例 #16
0
 public ShoppingListsController(ShoppingListDbContext context, IShoppingListService shoppingListService, IListItemService listItemService)
 {
     _shoppingListService = shoppingListService;
     _listItemService     = listItemService;
 }