Class GameGraphicsGetScreenResolution
Use case for retrieving the screen resolution from the game graphics service.
Inherited Members
Namespace: Serenity.GameGraphics.Application.UseCases
Assembly: Serenity.GameGraphics.Application.dll
Syntax
public class GameGraphicsGetScreenResolution : ISyncQueryUseCase<string>, IUseCase
Constructors
GameGraphicsGetScreenResolution(IGameGraphicsService)
Initializes a new instance of the GameGraphicsGetScreenResolution class.
Declaration
public GameGraphicsGetScreenResolution(IGameGraphicsService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IGameGraphicsService | service | The game graphics service instance. |
Methods
Execute()
Executes the use case to get the screen resolution.
Declaration
public string Execute()
Returns
| Type | Description |
|---|---|
| string |