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