Class ModalInstallerInstallInput<TAction, TContext>
Input data transfer object for installing a Modal.
Inherited Members
Namespace: Serenity.Modal.Installation.DTO
Assembly: Serenity.Modal.Installation.dll
Syntax
public class ModalInstallerInstallInput<TAction, TContext> where TAction : IDisposable
Type Parameters
| Name | Description |
|---|---|
| TAction | |
| TContext |
Constructors
ModalInstallerInstallInput(string, string, object, string, IUiComponentFactory, IUiThemeDefinition, IEventDispatcherService, IGameSettingsService, IPlayerInputService, IPlayerInputActionBindingFactory<TAction, TContext>, AudioPlayerPlayClip, string, ILogService)
Initializes a new instance of the ModalInstallerInstallInput<TAction, TContext> class.
Declaration
public ModalInstallerInstallInput(string id, string controllerId, object canvas, string audioPlayerId, IUiComponentFactory submitFactory, IUiThemeDefinition theme, IEventDispatcherService eventDispatcherService, IGameSettingsService gameSettingsService, IPlayerInputService playerInputService, IPlayerInputActionBindingFactory<TAction, TContext> playerInputActionBindingFactory, AudioPlayerPlayClip audioPlayerPlayClip, string audioPlayerServiceId, ILogService logService)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Id of the modal service. |
| string | controllerId | Id of the controller to be used on modals. |
| object | canvas | Canvas object. It represents the UI canvas where the modal will be displayed. |
| string | audioPlayerId | Id of the audio player to be used on modal interactions |
| IUiComponentFactory | submitFactory | Factory for creating UI components, specifically for submit buttons. |
| IUiThemeDefinition | theme | Theme definition for the UI, used to style the modal. |
| IEventDispatcherService | eventDispatcherService | Service for dispatching events within the UI. |
| IGameSettingsService | gameSettingsService | Service for accessing and managing game settings. |
| IPlayerInputService | playerInputService | Service for handling player input. |
| IPlayerInputActionBindingFactory<TAction, TContext> | playerInputActionBindingFactory | Factory for creating player input action bindings. |
| AudioPlayerPlayClip | audioPlayerPlayClip | Audio player play clip. |
| string | audioPlayerServiceId | Id of the audio player service. |
| ILogService | logService | Logger service. |
Fields
AudioPlayerId
Declaration
public string AudioPlayerId
Field Value
| Type | Description |
|---|---|
| string | Id of the audio player to be used on modal interactions |
AudioPlayerPlayClip
Declaration
public AudioPlayerPlayClip AudioPlayerPlayClip
Field Value
| Type | Description |
|---|---|
| AudioPlayerPlayClip | Audio player play clip. |
AudioPlayerServiceId
Declaration
public string AudioPlayerServiceId
Field Value
| Type | Description |
|---|---|
| string | Id of the audio player service. |
Canvas
Declaration
public object Canvas
Field Value
| Type | Description |
|---|---|
| object | Canvas object. It represents the UI canvas where the modal will be displayed. |
ControllerId
Declaration
public string ControllerId
Field Value
| Type | Description |
|---|---|
| string | Id of the controller to be used on modals. |
EventDispatcherService
Declaration
public IEventDispatcherService EventDispatcherService
Field Value
| Type | Description |
|---|---|
| IEventDispatcherService | Service for dispatching events within the UI. |
GameSettingsService
Declaration
public IGameSettingsService GameSettingsService
Field Value
| Type | Description |
|---|---|
| IGameSettingsService | Service for accessing and managing game settings. |
Id
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| string | Id of the modal service |
LogService
Declaration
public ILogService LogService
Field Value
| Type | Description |
|---|---|
| ILogService | Logger service. |
PlayerInputActionBindingFactory
Declaration
public IPlayerInputActionBindingFactory<TAction, TContext> PlayerInputActionBindingFactory
Field Value
| Type | Description |
|---|---|
| IPlayerInputActionBindingFactory<TAction, TContext> | Factory for creating player input action bindings. |
PlayerInputService
Declaration
public IPlayerInputService PlayerInputService
Field Value
| Type | Description |
|---|---|
| IPlayerInputService | Service for handling player input. |
SubmitFactory
Declaration
public IUiComponentFactory SubmitFactory
Field Value
| Type | Description |
|---|---|
| IUiComponentFactory | Factory for creating UI components, specifically for submit buttons. |
Theme
Declaration
public IUiThemeDefinition Theme
Field Value
| Type | Description |
|---|---|
| IUiThemeDefinition | Theme definition for the UI, used to style the modal. |