Class ReadLine
Gets the next line of text entered into the console as a user
response instead of invoking it as a command.
Assembly: QFSW.QC.dll
Syntax
public class ReadLine : ICommandAction
Constructors
ReadLine(Action<String>)
Declaration
public ReadLine(Action<string> getInput)
Parameters
Type |
Name |
Description |
Action<String> |
getInput |
A delegate which returns the input entered by the user.
|
Exceptions
ReadLine(Action<String>, ResponseConfig)
Declaration
public ReadLine(Action<string> getInput, ResponseConfig config)
Parameters
Type |
Name |
Description |
Action<String> |
getInput |
A delegate which returns the input entered by the user.
|
ResponseConfig |
config |
The config to provide the response flow with.
|
Exceptions
Properties
IsFinished
Declaration
public bool IsFinished { get; }
Property Value
StartsIdle
Declaration
public bool StartsIdle { get; }
Property Value
Methods
Finalize(ActionContext)
Declaration
public void Finalize(ActionContext context)
Parameters
Start(ActionContext)
Declaration
public void Start(ActionContext context)
Parameters
Implements
Extension Methods