public RecipeController( IRecipeRepository recipeRepo, IRecipeIngredientRepository ingredientRepo, IStepRepository stepRepo, IRecipeImageRepository imageRepo, IRecipeRateRepository rateRepo, ICategoryRepository categoriesRepo, IBookmarkRepository bookMarkRepo, IRecipeCategoryRepository categoryRepo, IUserRepository userRepo, IHostingEnvironment environment, IHttpContextAccessor accessor ) { this.recipeRepo = recipeRepo; this.ingredientRepo = ingredientRepo; this.stepRepo = stepRepo; this.imageRepo = imageRepo; this.rateRepo = rateRepo; this.categoriesRepo = categoriesRepo; this.bookMarkRepo = bookMarkRepo; this.categoryRepo = categoryRepo; this.userRepo = userRepo; this.environment = environment; this.accessor = accessor; }
public UnitOfWork( AlmanimeContext context, IAnimeRepository animes, IBookmarkRepository bookmarks, IEpisodeRepository episodes, IFansubRepository fansubs, IMembershipRepository memberships, IStorageRepository storage, ISubtitleRepository subtitles, ISubtitlePartialRepository subtitlesPartials, IUserRepository users ) { _context = context; Animes = animes; Bookmarks = bookmarks; Episodes = episodes; Fansubs = fansubs; Memberships = memberships; Storage = storage; Subtitles = subtitles; SubtitlePartials = subtitlesPartials; Users = users; }
public BookshelfService(IFileService fileService, ICryptoService cryptoService, IBookRepository bookRepository, IBookmarkRepository bookmarkRepository) { _fileService = fileService; _cryptoService = cryptoService; _bookRepository = bookRepository; _bookmarkRepository = bookmarkRepository; }
public BookInfoPageViewModel( IBookRepository bookService, DownloadController downloadController, IEventAggregator eventAggregator, IBookmarkRepository bookmarkRepository, INavigationService navigationService, SharingDataModel sharingDataModel, IBusyOverlayManager busyOverlay, ICatalogRepository catalogRepository, IAcquisitionServiceFactory acquisitionServiceFactory, INotificationsService notificationsService, CatalogController catalogController, IDownloadsContainer container, IBookDownloadsRepository bookDownloadsRepository) { SharingDataModel = sharingDataModel; _bookService = bookService; _downloadController = downloadController; _bookmarkRepository = bookmarkRepository; _navigationService = navigationService; _busyOverlay = busyOverlay; _catalogRepository = catalogRepository; _acquisitionServiceFactory = acquisitionServiceFactory; _notificationsService = notificationsService; _catalogController = catalogController; _container = container; _bookDownloadsRepository = bookDownloadsRepository; eventAggregator.Subscribe(this); _busyOverlay.Content = UIStrings.BookInfoPage_Loading; _busyOverlay.Closable = true; }
protected BookmarkListBase(INavigationService navigationService, IBookmarkRepository bookmarkService, IEventAggregator eventAggregator) { _navigationService = navigationService; _bookmarkService = bookmarkService; _eventAggregator = eventAggregator; _eventAggregator.Subscribe(this); }
public BookmarkService(IBookmarkRepository repository) { _repository = repository; if (HttpContext.Current.Cache[CACHE_KEY] == null) { CacheInit(Enumerable.ToList <Bookmark>(_repository.GetAll())); } }
public BookmarkService(ICapPublisher capPublisher, IBookmarkRepository bookmarkRepository, IBookmarkMapper bookmarkMapper, ILogger <BookmarkService> logger, IUserProvider userProvider) { _capPublisher = capPublisher; _bookmarkRepository = bookmarkRepository; _bookmarkMapper = bookmarkMapper; _logger = logger; _userProvider = userProvider; }
public UserBookmarkListHandler(IUserRepository userRepository, IBookmarkRepository bookmarkRepository, IUriResolver uriResolver) { if (userRepository == null) throw new ArgumentNullException("userRepository"); if (bookmarkRepository == null) throw new ArgumentNullException("bookmarkRepository"); if (uriResolver == null) throw new ArgumentNullException("uriResolver"); _userRepository = userRepository; _bookmarkRepository = bookmarkRepository; _uriResolver = uriResolver; }
public UnitOfWork(IBookmarkRepository bookmark, IFolderRepository folders, IItemRepository items, BookmarkDbContext db) { Bookmarks = bookmark; Folders = folders; Items = items; _db = db; }
public BookmarksController(ILogger <BookmarksController> logger, IBookmarkRepository repository, IWebHostEnvironment env, IOptions <FaviconSettings> settings, IServiceScopeFactory factory, IconFetcher fetcher) { _logger = logger; _repository = repository; _webHostEnv = env; _faviconSettings = settings?.Value ?? new FaviconSettings(); _servicesFactory = factory; _fetcher = fetcher; }
public AccountController( IUserRepository userRepo, IBookmarkRepository bookMarkRepo, IRecipeRepository recipeRepo ) { this.userRepo = userRepo; this.bookMarkRepo = bookMarkRepo; this.recipeRepo = recipeRepo; }
public StoreTest() { context = SetupDbContext(nameof(StoreTest)); context.Database.EnsureCreated(); context.Bookmarks.RemoveRange(context.Bookmarks); context.SaveChanges(); var logger = Mock.Of <ILogger <DbBookmarkRepository> >(); repo = new DbBookmarkRepository(context, logger); }
public BookmarkSearchPageViewModel( INavigationService navigationService, IBookmarkRepository bookmarkRepository, BookmarksController bookmarksController, IBookRepository bookRepository, IBusyIndicatorManager busyIndicatorManager) { _navigationService = navigationService; _bookmarkRepository = bookmarkRepository; _bookmarksController = bookmarksController; _bookRepository = bookRepository; _busyIndicatorManager = busyIndicatorManager; }
public BookmarkSearchPageViewModel( INavigationService navigationService, IBookmarkRepository bookmarkRepository, BookmarksController bookmarksController, IBookRepository bookRepository, IBusyIndicatorManager busyIndicatorManager) { _navigationService = navigationService; _bookmarkRepository = bookmarkRepository; _bookmarksController = bookmarksController; _bookRepository = bookRepository; _busyIndicatorManager = busyIndicatorManager; }
public BookmarkAppService( IRepository <Bookmark, Guid> repository, IBookmarkRepository bookmarkRepository, ITagRepository tagRepository, ICategoryRepository categoryRepository, IDistributedCache <BookmarkDto> bookmarkCache, ILogger <BookmarkAppService> logger) { _bookmarkRepository = bookmarkRepository; _tagRepository = tagRepository; _categoryRepository = categoryRepository; BookmarkCache = bookmarkCache; _logger = logger; }
public ThisBookBookmarksViewModel( INavigationService navigationService, BookmarksController bookmarksController, IBookmarkRepository bookmarkService, IBookRepository bookService, IBusyIndicatorManager busyIndicatorManager, IEventAggregator eventAggregator) : base(navigationService, bookmarkService, eventAggregator) { _bookmarksController = bookmarksController; _bookmarkService = bookmarkService; _bookRepository = bookService; _busyIndicatorManager = busyIndicatorManager; DisplayName = UIStrings.BookmarksPivot_ThisBook; }
public ThisBookBookmarksViewModel( INavigationService navigationService, BookmarksController bookmarksController, IBookmarkRepository bookmarkService, IBookRepository bookService, IBusyIndicatorManager busyIndicatorManager, IEventAggregator eventAggregator) : base(navigationService, bookmarkService, eventAggregator) { _bookmarksController = bookmarksController; _bookmarkService = bookmarkService; _bookRepository = bookService; _busyIndicatorManager = busyIndicatorManager; DisplayName = UIStrings.BookmarksPivot_ThisBook; }
public BookmarksPivotViewModel( ThisBookBookmarksViewModel thisBookBookmarksViewModel, AllBooksBookmarksViewModel allBooksBookmarksViewModel, INavigationService navigationService, IBookRepository bookRepository, IBookmarkRepository bookmarkRepository, BookmarksController bookmarksController, BookTool bookTool) { _thisBookBookmarksViewModel = thisBookBookmarksViewModel; _allBooksBookmarksViewModel = allBooksBookmarksViewModel; _navigationService = navigationService; _bookRepository = bookRepository; _bookmarkRepository = bookmarkRepository; _bookmarksController = bookmarksController; _bookTool = bookTool; }
public BookmarkService(IUnitOfWork unitOfWork, IBookmarkRepository repository) { UnitOfWork = unitOfWork; BookmarkRepository = repository; }
public BookmarkController(IBookmarkRepository repo) { _repo = repo; }
//private readonly static ILog log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); public BookmarkService(IUnitOfWork unitwork,IBookmarkRepository bookmarkRepository ) { this.unitwork = unitwork; this.bookmarkRepository = bookmarkRepository; }
public BookmarkService(IBookmarkRepository repository) { this._repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public GetAllBookmarksRequestHandler(IBookmarkRepository bookmarkRepository) { this.bookmarkRepository = bookmarkRepository ?? throw new ArgumentNullException(nameof(bookmarkRepository)); }
public BookmarksController(IBookmarkRepository bookmarkRepository) { _bookmarkRepository = bookmarkRepository; }
public BookmarkService(IBookmarkRepository bookmarkRepository, IUnitOfWork unitOfWork) { _bookmarkRepository = bookmarkRepository; _unitOfWork = unitOfWork; }
public BookmarksController(IBookmarkRepository bookmarkRepository) { this._bookmarkRepository = bookmarkRepository; }
public BookmarkBll(BusinessLocator p_BusinessLocator) { BookmarkRepo = p_BusinessLocator.ServiceLocator.BookmarkRepository; b = p_BusinessLocator; }
public BookmarkService(IBookmarkRepository repository) { _repository = repository; if (HttpContext.Current.Cache[CACHE_KEY] == null) CacheInit(Enumerable.ToList<Bookmark>(_repository.GetAll())); }
BookmarksController CreateController(IBookmarkRepository repository) { return(new BookmarksController(Logger, repository, null, null, null, null)); }
public DataServiceController(IBookmarkRepository bmRepo, ITagRepository tgRepo) { _BookmarkRepository = bmRepo; _TagRepository = tgRepo; }
public BookmarksService(IBookmarkRepository repository, ICurrentUser currentUser) { _repository = repository; _currentUser = currentUser; }
public HomeHandler(IBookmarkRepository bookmarkRepository) { if (bookmarkRepository == null) throw new ArgumentNullException("bookmarkRepository"); _bookmarkRepository = bookmarkRepository; }
public GetBookmarkListQueryHandler(IBookmarkRepository bookmarkRepository, IMapper mapper) { _bookmarkRepository = bookmarkRepository; _mapper = mapper; }
public AdminController(IBookmarkRepository bookmarkRepository) { _bookmarkRepository = bookmarkRepository; }
public BookmarkController(IBookmarkRepository BookmarkRepository, IMapper Mapper) { _BookmarkRepository = BookmarkRepository; _Mapper = Mapper; }
public BookmarkService(IBookmarkRepository bookmarkRepository, IUserRepository userRepository) { _bookmarkRepository = bookmarkRepository; _userRepository = userRepository; }
public BookmarksController() { _bookmarkRepository = new BookmarkRepository(); }
public BookmarkService(IOptions <AppSettings> settings) { _bookmarkRepository = new BookmarkRepository(settings); }
public BookmarkService(IBookmarkRepository bookmarkRepository, IBookRepository bookRepository, ISyncService syncService) { _bookmarkRepository = bookmarkRepository; _bookRepository = bookRepository; _syncService = syncService; }
public BookmarkServices(IBookmarkRepository bookmarkRepository) { _bookmarkRepository = bookmarkRepository; }
public BookmarksController(IBookmarkRepository repository) { _repository = repository; }