public ChartService( ChartRepository repo, IChartDateService chartDateService, ILastFmService lastFmService) { _repo = repo; _chartDateService = chartDateService; _lastFm = lastFmService; }
public UserController( IUserService userService, ChartRepository chartRepository, IChartService chartService, IChartDateService chartDateService, ILastFmService lastFmService) { _userService = userService; _chartRepository = chartRepository; _chartService = chartService; _chartDateService = chartDateService; _lastFm = lastFmService; }
public ViewWidgetMediaProviderLastFm(IMediaProviderSupportV7 aSupport, ILastFmService aService) { iMutex = new Mutex(false); iSupport = aSupport; iSupport.ViewSupport.EventSupportChanged += EventSupportChanged; iService = aService; InitializeComponent(); SetViewColours(); iContextMenu = new ViewContextMenu(); listBox1.ContextMenuStrip = iContextMenu.ContextMenuStrip; iService.EventChangeStationCompleted += EventChangeStationCompleted; iService.EventCommandCompleted += EventCommandCompleted; iService.EventHandshakeCompleted += EventHandshakeCompleted; iService.EventPlaylistCompleted += EventPlaylistCompleted; iLoginRequired = true; }
public AuthorizationController(ILastFmService lastFmService, IUserService userService) { _lastFm = lastFmService; _userService = userService; }
/// <summary> /// Initializes a new instance of the <see cref="LastFmModule"/> class. /// </summary> /// <param name="lastFmService">The lastfm service.</param> /// <param name="commandWebsocketService">The Command websocket connection.</param> public LastFmModule(ILastFmService lastFmService, ICommandWebsocketService commandWebsocketService) { _lastFmService = lastFmService; _commandWebsocketService = commandWebsocketService; }