Class SoundMixerInstaller
Abstract installer class for setting up the Sound Mixer Service and its use cases.
Implements
Inherited Members
Namespace: Serenity.SoundMixer.Installation.Installers
Assembly: Serenity.SoundMixer.Installation.dll
Syntax
public abstract class SoundMixerInstaller : IInstaller
Constructors
SoundMixerInstaller()
Declaration
protected SoundMixerInstaller()
Fields
_audioMixer
Declaration
protected AudioMixer _audioMixer
Field Value
| Type | Description |
|---|---|
| AudioMixer | Audio mixer object for the sound mixer. |
_service
Declaration
protected ISoundMixerService _service
Field Value
| Type | Description |
|---|---|
| ISoundMixerService | Service instance for the sound mixer. |
_serviceFactory
Declaration
protected ISoundMixerServiceFactory _serviceFactory
Field Value
| Type | Description |
|---|---|
| ISoundMixerServiceFactory | Factory for creating instances of the Sound Mixer Service. |
_useCases
Declaration
protected SoundMixerUseCases _useCases
Field Value
| Type | Description |
|---|---|
| SoundMixerUseCases | Container for the use cases related to the sound mixer. |
Methods
GetAudioMixer()
Gets the audio mixer object.
Declaration
public AudioMixer GetAudioMixer()
Returns
| Type | Description |
|---|---|
| AudioMixer | The audio mixer object. |
GetService()
Gets the sound mixer service instance.
Declaration
public ISoundMixerService GetService()
Returns
| Type | Description |
|---|---|
| ISoundMixerService | The sound mixer service instance. |
GetUseCases()
Gets the container for the sound mixer use cases.
Declaration
public SoundMixerUseCases GetUseCases()
Returns
| Type | Description |
|---|---|
| SoundMixerUseCases | The container for the sound mixer use cases. |
Install(SoundMixerInstallerInstallInput)
Installs the Sound Mixer Service and its use cases.
Declaration
public abstract void Install(SoundMixerInstallerInstallInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| SoundMixerInstallerInstallInput | input | The input data transfer object containing necessary services. |
InstallService(ISoundMixerSettings, IEventDispatcherService)
Installs the sound mixer service using provided settings and event dispatcher service.
Declaration
protected abstract ISoundMixerService InstallService(ISoundMixerSettings soundMixerSettings, IEventDispatcherService eventDispatcherService)
Parameters
| Type | Name | Description |
|---|---|---|
| ISoundMixerSettings | soundMixerSettings | The settings for the sound mixer. |
| IEventDispatcherService | eventDispatcherService | The event dispatcher service to be used by the sound mixer service. |
Returns
| Type | Description |
|---|---|
| ISoundMixerService | The installed sound mixer service instance. |
InstallServiceFactory()
Abstract methods to be implemented by subclasses for specific installation logic.
Declaration
protected abstract ISoundMixerServiceFactory InstallServiceFactory()
Returns
| Type | Description |
|---|---|
| ISoundMixerServiceFactory | The installed audio mixer object. |
InstallUseCases(ISoundMixerService)
Installs the use cases for the sound mixer service.
Declaration
protected abstract SoundMixerUseCases InstallUseCases(ISoundMixerService service)
Parameters
| Type | Name | Description |
|---|---|---|
| ISoundMixerService | service | The sound mixer service instance. |
Returns
| Type | Description |
|---|---|
| SoundMixerUseCases | The container for the sound mixer use cases. |