logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MusicPlayerPlayPreviousSong

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

    Inheritance
    object
    MusicPlayerPlayPreviousSong
    Implements
    ISyncUseCase<MusicPlayerPlayPreviousSongInput>
    IUseCase
    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 MusicPlayerPlayPreviousSong : ISyncUseCase<MusicPlayerPlayPreviousSongInput>, IUseCase

    Constructors

    MusicPlayerPlayPreviousSong(IMusicPlayerGateway)

    Initializes a new instance of the MusicPlayerPlayPreviousSong class.

    Declaration
    public MusicPlayerPlayPreviousSong(IMusicPlayerGateway gateway)
    Parameters
    Type Name Description
    IMusicPlayerGateway gateway

    The music player gateway to interact with music player services.

    Methods

    Execute(MusicPlayerPlayPreviousSongInput)

    Executes the music player play previous song use case with the provided input data.

    Declaration
    public void Execute(MusicPlayerPlayPreviousSongInput input)
    Parameters
    Type Name Description
    MusicPlayerPlayPreviousSongInput input

    The input data for playing the previous song in the music player.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved