logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameGraphicsGetScreenResolution

    Use case for retrieving the screen resolution from the game graphics service.

    Inheritance
    object
    GameGraphicsGetScreenResolution
    Implements
    ISyncQueryUseCase<string>
    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 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

    Implements

    ISyncQueryUseCase<TOutput>
    IUseCase
    In this article
    © 2026 Serenity. All Rights Reserved