Пример #1
0
 public TrackTrackingService(IServiceProvider serviceProvider,
                             IRadioHubProxy radioHubProxy,
                             ITrackStatusRequester trackStatusRequester,
                             IChannelTrackingStatusNotifier channelTrackingStatusNotifier)
 {
     _serviceProvider               = serviceProvider;
     _radioHubProxy                 = radioHubProxy;
     _trackStatusRequester          = trackStatusRequester;
     _channelTrackingStatusNotifier = channelTrackingStatusNotifier;
 }
Пример #2
0
 public ChannelController(UserManager <AppUser> userManager,
                          IChannelRepository channelRepository,
                          IChannelTrackRepository channelTrackRepository,
                          IChannelTaskLoader channelTaskLoader,
                          IRadioHubProxy radioHubProxy,
                          IChannelTrackingStopper channelTrackingStopper,
                          IYouTubeService youTubeService)
 {
     _userManager            = userManager;
     _channelRepository      = channelRepository;
     _channelTrackRepository = channelTrackRepository;
     _channelTaskLoader      = channelTaskLoader;
     _radioHubProxy          = radioHubProxy;
     _channelTrackingStopper = channelTrackingStopper;
     _youTubeService         = youTubeService;
 }
Пример #3
0
 public TrackTracker(IServiceProvider serviceProvider, IRadioHubProxy radioHubProxy, string channelId)
 {
     _serviceProvider = serviceProvider;
     _radioHubProxy   = radioHubProxy;
     _channelId       = channelId;
 }
Пример #4
0
 public TrackService(IServiceProvider serviceProvider, IRadioHubProxy radioHubProxy, TrackStatusService trackStatusService)
 {
     _serviceProvider    = serviceProvider;
     _radioHubProxy      = radioHubProxy;
     _trackStatusService = trackStatusService;
 }
Пример #5
0
 public TrackTracker(IServiceProvider serviceProvider, IRadioHubProxy radioHubProxy, Channel currentChannel)
 {
     _serviceProvider = serviceProvider;
     _radioHubProxy   = radioHubProxy;
     _currentChannel  = currentChannel;
 }