Exemplo n.º 1
0
 public ProcessInitRequest(LyricCoverModel model,
                           ITinyMessengerHub hub,
                           IPlayerApiAdapter apiAdapter,
                           ITrackApiAdapter trackApiAdapter,
                           Authenticator auth)
 {
     _model           = model;
     _hub             = hub;
     _apiAdapter      = apiAdapter;
     _trackApiAdapter = trackApiAdapter;
     _auth            = auth;
 }
Exemplo n.º 2
0
 public MusicBeeDependencies(ILibraryApiAdapter libraryAdapter,
                             INowPlayingApiAdapter nowPlayingAdapter,
                             IOutputApiAdapter outputAdapter,
                             IPlayerApiAdapter playerAdapter,
                             IQueueAdapter queueAdapter,
                             ITrackApiAdapter trackAdapter,
                             IInvokeHandler invokeHandler,
                             string baseStoragePath,
                             string currentVersion)
 {
     LibraryAdapter    = libraryAdapter;
     NowPlayingAdapter = nowPlayingAdapter;
     OutputAdapter     = outputAdapter;
     PlayerAdapter     = playerAdapter;
     QueueAdapter      = queueAdapter;
     TrackAdapter      = trackAdapter;
     InvokeHandler     = invokeHandler;
     BaseStoragePath   = baseStoragePath;
     CurrentVersion    = currentVersion;
 }
Exemplo n.º 3
0
 public RequestPlayPause(ITinyMessengerHub hub, IPlayerApiAdapter apiAdapter)
 {
     _hub        = hub;
     _apiAdapter = apiAdapter;
 }
Exemplo n.º 4
0
 public RequestNextTrack(IPlayerApiAdapter apiAdapter, ITinyMessengerHub hub)
 {
     _apiAdapter = apiAdapter;
     _hub        = hub;
 }
Exemplo n.º 5
0
 public PlayerStateMonitor(PlayerStateModel stateModel, ITinyMessengerHub hub, IPlayerApiAdapter apiAdapter)
 {
     _stateModel = stateModel;
     _hub        = hub;
     _apiAdapter = apiAdapter;
 }
Exemplo n.º 6
0
 public RequestPause(IPlayerApiAdapter playerApiAdapter)
 {
     _apiAdapter = playerApiAdapter;
 }
Exemplo n.º 7
0
 public RequestVolume(IPlayerApiAdapter apiAdapter)
 {
     _apiAdapter = apiAdapter;
 }
Exemplo n.º 8
0
 public RequestPreviousTrack(ITinyMessengerHub hub, IPlayerApiAdapter apiAdapter)
 {
     _hub        = hub;
     _apiAdapter = apiAdapter;
 }
Exemplo n.º 9
0
 public RequestShuffle(Authenticator auth, ITinyMessengerHub hub, IPlayerApiAdapter apiAdapter)
 {
     _auth       = auth;
     _hub        = hub;
     _apiAdapter = apiAdapter;
 }