C# Class ManyConsole.ConsoleModeCommand

Inheritance: ManyConsole.ConsoleCommand
Afficher le fichier Open project: lysannschlegel/RDAExplorer Class Usage Examples

Méthodes publiques

Свойство Type Description
FriendlyContinuePrompt string

Méthodes publiques

Méthode Description
ConsoleModeCommand ( TextWriter outputStream = null, TextReader inputStream = null, OptionSet options = null ) : System
GetNextCommands ( ) : IEnumerable

Runs to get the next available commands

Run ( string remainingArguments ) : int
SetConsoleRedirectionDetection ( IConsoleRedirectionDetection consoleRedirectionDetection ) : void
WritePromptForCommands ( ) : void

Writes to the console to prompt the user for their next command. Is skipped if commands are being ran without user interaction.

Private Methods

Méthode Description
ConsoleModeCommand ( Func commandSource, TextWriter outputStream = null, TextReader inputStream = null, string friendlyContinueText = null, OptionSet options = null ) : System

Method Details

ConsoleModeCommand() public méthode

public ConsoleModeCommand ( TextWriter outputStream = null, TextReader inputStream = null, OptionSet options = null ) : System
outputStream System.IO.TextWriter
inputStream System.IO.TextReader
options OptionSet
Résultat System

GetNextCommands() public méthode

Runs to get the next available commands
public GetNextCommands ( ) : IEnumerable
Résultat IEnumerable

Run() public méthode

public Run ( string remainingArguments ) : int
remainingArguments string
Résultat int

SetConsoleRedirectionDetection() public méthode

public SetConsoleRedirectionDetection ( IConsoleRedirectionDetection consoleRedirectionDetection ) : void
consoleRedirectionDetection IConsoleRedirectionDetection
Résultat void

WritePromptForCommands() public méthode

Writes to the console to prompt the user for their next command. Is skipped if commands are being ran without user interaction.
public WritePromptForCommands ( ) : void
Résultat void

Property Details

FriendlyContinuePrompt public_oe static_oe property

public static string FriendlyContinuePrompt
Résultat string