Class GameGraphicsInstaller
Abstract base class for game graphics installers.
Inherited Members
Namespace: Serenity.GameGraphics.Installation.Installers
Assembly: Serenity.GameGraphics.Installation.dll
Syntax
public abstract class GameGraphicsInstaller
Constructors
GameGraphicsInstaller()
Declaration
protected GameGraphicsInstaller()
Fields
_service
Declaration
protected IGameGraphicsService _service
Field Value
| Type | Description |
|---|---|
| IGameGraphicsService | The game graphics service instance. |
_serviceFactory
Declaration
protected IGameGraphicsServiceFactory _serviceFactory
Field Value
| Type | Description |
|---|---|
| IGameGraphicsServiceFactory | The service factory for creating game graphics services. |
_uiRoot
Declaration
protected object _uiRoot
Field Value
| Type | Description |
|---|---|
| object | The UI root object for the game graphics. |
_useCases
Declaration
protected GameGraphicsUseCases _useCases
Field Value
| Type | Description |
|---|---|
| GameGraphicsUseCases | The use cases for the game graphics service. |
Methods
GetGameGraphicsRoot()
Gets the root object for the game graphics.
Declaration
public object GetGameGraphicsRoot()
Returns
| Type | Description |
|---|---|
| object | The game graphics root object. |
GetService()
Gets the game graphics service instance.
Declaration
public IGameGraphicsService GetService()
Returns
| Type | Description |
|---|---|
| IGameGraphicsService | The game graphics service instance. |
GetUseCases()
Gets the game graphics use cases instance.
Declaration
public GameGraphicsUseCases GetUseCases()
Returns
| Type | Description |
|---|---|
| GameGraphicsUseCases | The game graphics use cases instance. |
Install(GameGraphicsInstallerInstallInput)
Installs the game graphics service with the specified input.
Declaration
public abstract void Install(GameGraphicsInstallerInstallInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| GameGraphicsInstallerInstallInput | input | The installation input data transfer object. |
InstallService(IGameGraphicsSettings, IEventDispatcherService, ILogService, IGameSettingsService)
Installs the game graphics service with the specified settings.
Declaration
protected abstract IGameGraphicsService InstallService(IGameGraphicsSettings uiSettings, IEventDispatcherService eventDispatcherService, ILogService logService, IGameSettingsService gameSettingsService)
Parameters
| Type | Name | Description |
|---|---|---|
| IGameGraphicsSettings | uiSettings | The UI settings for the game graphics. |
| IEventDispatcherService | eventDispatcherService | The event dispatcher service instance. |
| ILogService | logService | The log service instance. |
| IGameSettingsService | gameSettingsService | The game settings service for reading persisted user settings. |
Returns
| Type | Description |
|---|---|
| IGameGraphicsService | The game graphics service instance. |
InstallServiceFactory()
Installs the service factory for the game graphics.
Declaration
protected abstract IGameGraphicsServiceFactory InstallServiceFactory()
Returns
| Type | Description |
|---|---|
| IGameGraphicsServiceFactory | The game graphics service factory instance. |
InstallUseCases(IGameGraphicsService)
Installs the use cases for the game graphics service.
Declaration
protected abstract GameGraphicsUseCases InstallUseCases(IGameGraphicsService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IGameGraphicsService | service | The game graphics service instance. |
Returns
| Type | Description |
|---|---|
| GameGraphicsUseCases | The game graphics use cases instance. |