logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MusicPlayerUseCases

    Aggregates all music player use cases for easy access and management.

    Inheritance
    object
    MusicPlayerUseCases
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.MusicPlayer.Application.UseCases
    Assembly: Serenity.MusicPlayer.Application.dll
    Syntax
    public class MusicPlayerUseCases

    Constructors

    MusicPlayerUseCases(MusicPlayerPauseSong, MusicPlayerPlayNextSong, MusicPlayerPlayPreviousSong, MusicPlayerPlaySong, MusicPlayerResumeSong, MusicPlayerStopSong)

    Initializes a new instance of the MusicPlayerUseCases class.

    Declaration
    public MusicPlayerUseCases(MusicPlayerPauseSong pauseSong, MusicPlayerPlayNextSong playNextSong, MusicPlayerPlayPreviousSong playPreviousSong, MusicPlayerPlaySong playSong, MusicPlayerResumeSong resumeSong, MusicPlayerStopSong stopSong)
    Parameters
    Type Name Description
    MusicPlayerPauseSong pauseSong

    Use case for pausing a song in the music player.

    MusicPlayerPlayNextSong playNextSong

    Use case for playing the next song in the music player.

    MusicPlayerPlayPreviousSong playPreviousSong

    Use case for playing the previous song in the music player.

    MusicPlayerPlaySong playSong

    Use case for playing a song in the music player.

    MusicPlayerResumeSong resumeSong

    Use case for resuming a song in the music player.

    MusicPlayerStopSong stopSong

    Use case for stopping a song in the music player.

    Fields

    PauseSong

    Declaration
    public MusicPlayerPauseSong PauseSong
    Field Value
    Type Description
    MusicPlayerPauseSong

    Use case for pausing a song in the music player.

    PlayNextSong

    Declaration
    public MusicPlayerPlayNextSong PlayNextSong
    Field Value
    Type Description
    MusicPlayerPlayNextSong

    Use case for playing the next song in the music player.

    PlayPreviousSong

    Declaration
    public MusicPlayerPlayPreviousSong PlayPreviousSong
    Field Value
    Type Description
    MusicPlayerPlayPreviousSong

    Use case for playing the previous song in the music player.

    PlaySong

    Declaration
    public MusicPlayerPlaySong PlaySong
    Field Value
    Type Description
    MusicPlayerPlaySong

    Use case for playing a song in the music player.

    ResumeSong

    Declaration
    public MusicPlayerResumeSong ResumeSong
    Field Value
    Type Description
    MusicPlayerResumeSong

    Use case for resuming a song in the music player.

    StopSong

    Declaration
    public MusicPlayerStopSong StopSong
    Field Value
    Type Description
    MusicPlayerStopSong

    Use case for stopping a song in the music player.

    In this article
    © 2026 Serenity. All Rights Reserved