Class MenuSubmitOptionInput
Input data transfer object for submitting a menu option.
Inherited Members
Namespace: Serenity.Menu.Application.DTO
Assembly: Serenity.Menu.Application.dll
Syntax
public class MenuSubmitOptionInput
Constructors
MenuSubmitOptionInput(string, int)
Initializes a new instance of the MenuSubmitOptionInput class.
Declaration
public MenuSubmitOptionInput(string menuId, int selectedOptionIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | menuId | The ID of the menu to be submitted. |
| int | selectedOptionIndex | The index of the selected option to be submitted. |
Fields
MenuId
Declaration
public string MenuId
Field Value
| Type | Description |
|---|---|
| string | The ID of the menu to be submitted. |
SelectedOptionIndex
Declaration
public int SelectedOptionIndex
Field Value
| Type | Description |
|---|---|
| int | The index of the selected option to be submitted. |
Methods
ToString()
Returns a string representation of the MenuSubmitOptionInput instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation of the instance. |