logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MenuSelectOptionInput

    Input data transfer object for selecting a menu option.

    Inheritance
    object
    MenuSelectOptionInput
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Menu.Application.DTO
    Assembly: Serenity.Menu.Application.dll
    Syntax
    public class MenuSelectOptionInput

    Constructors

    MenuSelectOptionInput(string, int)

    Initializes a new instance of the MenuSelectOptionInput class.

    Declaration
    public MenuSelectOptionInput(string menuId, int optionIndex)
    Parameters
    Type Name Description
    string menuId

    The ID of the menu to be selected.

    int optionIndex

    The index of the option to be selected.

    Fields

    MenuId

    Declaration
    public string MenuId
    Field Value
    Type Description
    string

    The ID of the menu to be selected.

    OptionIndex

    Declaration
    public int OptionIndex
    Field Value
    Type Description
    int

    The index of the option to be selected.

    Methods

    ToString()

    Returns a string representation of the MenuSelectOptionInput instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    In this article
    © 2026 Serenity. All Rights Reserved