logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SoundMixerSetVolume

    Use case for setting the volume in the Sound Mixer Service.

    Inheritance
    object
    SoundMixerSetVolume
    Implements
    ISyncUseCase<SoundMixerSetVolumeInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.SoundMixer.Application.UseCases
    Assembly: Serenity.SoundMixer.Application.dll
    Syntax
    public class SoundMixerSetVolume : ISyncUseCase<SoundMixerSetVolumeInput>, IUseCase

    Constructors

    SoundMixerSetVolume(ISoundMixerService)

    Initializes a new instance of the SoundMixerSetVolume class.

    Declaration
    public SoundMixerSetVolume(ISoundMixerService service)
    Parameters
    Type Name Description
    ISoundMixerService service

    The sound mixer service instance.

    Methods

    Execute(SoundMixerSetVolumeInput)

    Executes the use case to set the volume.

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

    The input data transfer object containing the ID and volume level.

    Implements

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