Novell::iFolder::Utility::Prompt Class Reference
Prompt Methods.
More...
List of all members.
|
Static Public Member Functions |
| static string | ForString (string prompt, string defaultValue) |
| | Prompt for a String Value.
|
| static void | ForOption (Option option) |
| | Prompt for and get the value for the option.
|
| static bool | ForYesNo (string prompt, bool defaultValue) |
| | Prompt for a Yes/No Value.
|
Detailed Description
Prompt Methods.
Member Function Documentation
| static string Novell::iFolder::Utility::Prompt::ForString |
( |
string |
prompt, |
|
|
string |
defaultValue | |
|
) |
| | [inline, static] |
Prompt for a String Value.
- Parameters:
-
| prompt | The Prompt String |
| defaultValue | The Default Value |
- Returns:
- A String Object
| static void Novell::iFolder::Utility::Prompt::ForOption |
( |
Option |
option |
) |
[inline, static] |
Prompt for and get the value for the option.
- Parameters:
-
| option | The option to prompt for. |
| static bool Novell::iFolder::Utility::Prompt::ForYesNo |
( |
string |
prompt, |
|
|
bool |
defaultValue | |
|
) |
| | [inline, static] |
Prompt for a Yes/No Value.
- Parameters:
-
| prompt | The Prompt String |
| defaultValue | The Default Value |
- Returns:
- A bool Object
The documentation for this class was generated from the following file:
- src/server/setup/Prompt.cs