Esempio n. 1
0
 public Users(IUserRepository userRepository, IMapper mapper, IOptions <Library.Options.SentryOptions> sentryOptions, IOptions <TestOptions> testOptions)
 {
     _userRepository = userRepository;
     _mapper         = mapper;
     _sentryOptions  = sentryOptions.Value;
     _testOptions    = testOptions.Value;
 }
Esempio n. 2
0
 public Update(
     IHandleMessageService handleMessageService,
     IHandleCallbackQueryService handleCallbackQueryService,
     IHandleInlineQueryService handleInlineQueryService,
     ICommandsService commandsService,
     IUpdateDtoService updateDtoService,
     IOptions <Library.Options.SentryOptions> sentryOptions)
 {
     _handleMessageService       = handleMessageService;
     _handleCallbackQueryService = handleCallbackQueryService;
     _handleInlineQueryService   = handleInlineQueryService;
     _commandsService            = commandsService;
     _updateDtoService           = updateDtoService;
     _sentryOptions = sentryOptions.Value;
 }
Esempio n. 3
0
 public Callback(
     IAuthorizationService spotifyAuthorizationService,
     ISendMessageService sendMessageService,
     IChatRepository chatRepository,
     ITrackRepository trackRepository,
     ISpotifyClientFactory spotifyClientFactory,
     ISpotifyClientService spotifyClientService,
     IOptions <Library.Options.SentryOptions> sentryOptions)
 {
     _spotifyAuthorizationService = spotifyAuthorizationService;
     _sendMessageService          = sendMessageService;
     _chatRepository       = chatRepository;
     _trackRepository      = trackRepository;
     _spotifyClientFactory = spotifyClientFactory;
     _spotifyClientService = spotifyClientService;
     _sentryOptions        = sentryOptions.Value;
 }
Esempio n. 4
0
 public SyncHistory(ISyncHistoryService syncHistoryService, IOptions <Library.Options.SentryOptions> sentryOptions)
 {
     _syncHistoryService = syncHistoryService;
     _sentryOptions      = sentryOptions.Value;
 }
Esempio n. 5
0
 public Upvotes(IVoteRepository voteRepository, IMapper mapper, IOptions <Library.Options.SentryOptions> sentryOptions)
 {
     _voteRepository = voteRepository;
     _mapper         = mapper;
     _sentryOptions  = sentryOptions.Value;
 }
Esempio n. 6
0
 public Tracks(ITrackRepository trackRepository, IMapper mapper, IOptions <Library.Options.SentryOptions> sentryOptions)
 {
     _trackRepository = trackRepository;
     _mapper          = mapper;
     _sentryOptions   = sentryOptions.Value;
 }