Method | Description | |
---|---|---|
CliHelper ( ) : System |
Creates a new CLI object.
|
|
IsUserSure ( ConsoleString about ) : bool |
Asks the user if they are sure about performing some operation and returns true if they indicate yes and false if they indicate no.
|
|
IsUserSure ( string about ) : bool |
Asks the user if they are sure about performing some operation and returns true if they indicate yes and false if they indicate no.
|
|
Prompt ( ConsoleString message ) : string |
Prompts the user to select a value from a set of options.
|
|
Prompt ( string message ) : string |
Prompts the user to select a value from a set of options.
|
|
PromptForLine ( string message ) : string |
Prompts the user for a line of input with the given message
|
public IsUserSure ( ConsoleString about ) : bool | ||
about | ConsoleString | The message to display. 'Are you sure?' will be apended. |
return | bool |
public IsUserSure ( string about ) : bool | ||
about | string | The message to display. 'Are you sure?' will be apended. |
return | bool |
public Prompt ( ConsoleString message ) : string | ||
message | ConsoleString | the prompt message |
return | string |
public Prompt ( string message ) : string | ||
message | string | the prompt message |
return | string |
public PromptForLine ( string message ) : string | ||
message | string | the prompt message |
return | string |