Class MusicPlayerPlayNextSong
Use case for playing the next song in the music player.
Inherited Members
Namespace: Serenity.MusicPlayer.Application.UseCases
Assembly: Serenity.MusicPlayer.Application.dll
Syntax
public class MusicPlayerPlayNextSong : ISyncUseCase<MusicPlayerPlayNextSongInput>, IUseCase
Constructors
MusicPlayerPlayNextSong(IMusicPlayerGateway)
Initializes a new instance of the MusicPlayerPlayNextSong class.
Declaration
public MusicPlayerPlayNextSong(IMusicPlayerGateway gateway)
Parameters
| Type | Name | Description |
|---|---|---|
| IMusicPlayerGateway | gateway | The music player gateway to interact with music player services. |
Methods
Execute(MusicPlayerPlayNextSongInput)
Executes the music player play next song use case with the provided input data.
Declaration
public void Execute(MusicPlayerPlayNextSongInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| MusicPlayerPlayNextSongInput | input | The input data for playing the next song in the music player. |