Interface IMusicPlayerGatewayFactory
Factory interface for creating instances of IMusicPlayerGateway.
Namespace: Serenity.MusicPlayer.Application.Interfaces
Assembly: Serenity.MusicPlayer.Application.dll
Syntax
public interface IMusicPlayerGatewayFactory
Methods
CreateGateway(Dictionary<string, IMusicPlayerService>)
Creates a new instance of IMusicPlayerGateway.
Declaration
IMusicPlayerGateway CreateGateway(Dictionary<string, IMusicPlayerService> services)
Parameters
| Type | Name | Description |
|---|---|---|
| Dictionary<string, IMusicPlayerService> | services | The available music player services. |
Returns
| Type | Description |
|---|---|
| IMusicPlayerGateway | A new instance of IMusicPlayerGateway. |