logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameGraphicsSetScreenResolution

    Use case for setting the screen resolution in the game graphics service.

    Inheritance
    object
    GameGraphicsSetScreenResolution
    Implements
    ISyncUseCase<SetScreenResolutionInput>
    IUseCase
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    Implements

    ISyncUseCase<TInput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved