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