logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MusicPlayerPauseSong

    Use case for pausing a song in the music player.

    Inheritance
    object
    MusicPlayerPauseSong
    Implements
    ISyncUseCase<MusicPlayerPauseSongInput>
    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 MusicPlayerPauseSong : ISyncUseCase<MusicPlayerPauseSongInput>, IUseCase

    Constructors

    MusicPlayerPauseSong(IMusicPlayerGateway)

    Initializes a new instance of the MusicPlayerPauseSong class.

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

    The music player gateway to interact with music player services.

    Methods

    Execute(MusicPlayerPauseSongInput)

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

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

    The input data for pausing a song in the music player.

    Implements

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