Class GameGraphicsSetScreenResolution
Use case for setting the screen resolution in the game graphics service.
Inherited Members
Namespace: Serenity.GameGraphics.Application.UseCases
Assembly: Serenity.GameGraphics.Application.dll
Syntax
public class GameGraphicsSetScreenResolution : ISyncUseCase<SetScreenResolutionInput>, IUseCase
Constructors
GameGraphicsSetScreenResolution(IGameGraphicsService)
Initializes a new instance of the GameGraphicsSetScreenResolution class.
Declaration
public GameGraphicsSetScreenResolution(IGameGraphicsService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IGameGraphicsService | service | The game graphics service instance. |
Methods
Execute(SetScreenResolutionInput)
Executes the use case to set the screen resolution.
Declaration
public void Execute(SetScreenResolutionInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| SetScreenResolutionInput | input | The input data transfer object containing the screen resolution information. |