Class ReadValue<T>
Gets the next line of text entered into the console as a user response and parses it to a value of the specified type.
Implements
Inherited Members
Namespace: QFSW.QC.Actions
Assembly: QFSW.QC.dll
Syntax
public class ReadValue<T> : Composite, ICommandAction
Type Parameters
Name | Description |
---|---|
T |
Constructors
ReadValue(Action<T>)
Declaration
public ReadValue(Action<T> getValue)
Parameters
Type | Name | Description |
---|---|---|
Action<T> | getValue | A delegate which returns the parsed value entered by the user. |
ReadValue(Action<T>, ResponseConfig)
Declaration
public ReadValue(Action<T> getValue, ResponseConfig config)
Parameters
Type | Name | Description |
---|---|---|
Action<T> | getValue | A delegate which returns the parsed value entered by the user. |
ResponseConfig | config | The config to provide the response flow with. |