public WatchlistController(IWatchlistRepository repository, UserManager <Owner> userManager, INotificationRepository notificationRepository) { _repository = repository; _userManager = userManager; _notificationRepository = notificationRepository; }
public CreateNotifications(IWatchlistRepository watchlistRepository, INotificationRepository notificationRepository, IHubContext <SignalServer> hubContext) { _watchlistRepository = watchlistRepository; _notificationRepository = notificationRepository; _hubContext = hubContext; }
public NotificationRepository(ApplicationDbContext context, IWatchlistRepository watchlistRepository, IHubContext <SignalServer> hubContext) { _context = context; _watchlistRepository = watchlistRepository; _hubContext = hubContext; }
public WatchlistController(IWatchlistRepository watchlistRepository, UserManager <ApplicationUser> userManager, IClientNotification clientNotification) { _watchlistRepository = watchlistRepository; _userManager = userManager; _clientNotification = clientNotification; }
/// <summary> /// Initializes a new instance of the <see cref="WatchlistService"/> class. /// </summary> /// <param name="watchlistRepository">The watchlist repository.</param> /// <param name="shareInfoProvider">The share information provider.</param> /// <param name="shareQuoteProvider">The share quote provider.</param> public WatchlistService( IWatchlistRepository watchlistRepository, IShareInfoProvider shareInfoProvider, IShareQuoteProvider shareQuoteProvider) { _watchlistRepository = watchlistRepository; _shareInfoProvider = shareInfoProvider; _shareQuoteProvider = shareQuoteProvider; }
public PetController(IPetRepository petRepository, UserManager <Owner> userManager, IUpdatePetRepository updatePetRepository, IWatchlistRepository watchlistRepository, INotificationRepository notificationRepository, IHubContext <SignalServer> hubContext, IClientNotification clientNotification) { _petRepository = petRepository; _userManager = userManager; _updatePetRepository = updatePetRepository; _watchlistRepository = watchlistRepository; _notificationRepository = notificationRepository; _hubContext = hubContext; _clientNotification = clientNotification; }
public WatchlistManager(IWatchlistRepository repository, IMarketRepository marketRepository, IdentityHttpService identityHttpService) { _repository = repository; _marketRepository = marketRepository; _identityHttpService = identityHttpService; }
public WatchlistService(IOmdbApi omdbApi, IWatchlistRepository watchlistRepository) { _omdbApi = omdbApi; _watchlistRepository = watchlistRepository; }
public WatchlistService(IWatchlistRepository watchlistRepository) { _watchlistRepository = watchlistRepository; }
public WatchlistController(IWatchlistRepository watchlistRepository, IPlaylistRepository playlistRepo) { _watchlistRepository = watchlistRepository; _playlistRepo = playlistRepo; }
/// <summary> /// ctor /// </summary> /// <param name="repository"></param> public WatchlistsController(IMapper mapper, IWatchlistRepository watchlistRepository) { _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _watchlistRepo = watchlistRepository ?? throw new ArgumentNullException(nameof(watchlistRepository)); }
/// <summary> /// ctor /// </summary> /// <param name="repository"></param> public UsersController(IUsersRepository repository, IMapper mapper, IWatchlistRepository watchlistRepository) { _repo = repository ?? throw new ArgumentNullException(nameof(repository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _watchlistRepo = watchlistRepository ?? throw new ArgumentNullException(nameof(watchlistRepository)); }
public NotificationRepository(AppDbContext db, IWatchlistRepository watchlistRepository) { _db = db; _watchlistRepository = watchlistRepository; }