Class ModalSubmitOptionInput
Input data transfer object for submitting a modal option.
Inherited Members
Namespace: Serenity.Modal.Application.DTO
Assembly: Serenity.Modal.Application.dll
Syntax
public class ModalSubmitOptionInput
Constructors
ModalSubmitOptionInput(string, int)
Initializes a new instance of the ModalSubmitOptionInput class.
Declaration
public ModalSubmitOptionInput(string modalId, int selectedOptionIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | modalId | The ID of the modal containing the option. |
| int | selectedOptionIndex | The index of the selected option to be submitted. |
Fields
ModalId
Declaration
public string ModalId
Field Value
| Type | Description |
|---|---|
| string | The ID of the modal containing the option. |
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 ModalSubmitOptionInput instance.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation of the instance. |