Click or drag to resize

YUserInteractYChoiceInputRequest(String, String, IEnumerableString, Boolean, String) Constructor

Instanciate a new YTextInputRequest.

Namespace: Upsilon.Common.Forms
Assembly: Upsilon.Common.Forms (in Upsilon.Common.Forms.dll) Version: 2.3.2+14985a67b419f90e14e6b1bde61d18cf6cf12b27
Syntax
C#
public YChoiceInputRequest(
	string title,
	string message,
	IEnumerable<string> values,
	bool allowOtherValues = false,
	string defaultValue = ""
)

Parameters

title  String
The title of the request.
message  String
The message of the request.
values  IEnumerableString
The possible values.
allowOtherValues  Boolean  (Optional)
Specify if other values are allowed. By default it is false.
defaultValue  String  (Optional)
The default value. By default it is null or 0.
See Also