C# Class PoshCode.Controls.CommandHistory

Datei anzeigen Open project: Jaykul/PoshConsole Class Usage Examples

Public Methods

Method Description
Add ( string command ) : void
CommandHistory ( ) : System
First ( string currentCommand ) : string
Last ( string currentCommand ) : string
Next ( string currentCommand ) : string
Previous ( string currentCommand ) : string
Reset ( ) : void
ResetCurrentCommand ( ) : void

Private Methods

Method Description
GetChoices ( string CurrentCommand ) : List

Method Details

Add() public method

public Add ( string command ) : void
command string
return void

CommandHistory() public method

public CommandHistory ( ) : System
return System

First() public method

public First ( string currentCommand ) : string
currentCommand string
return string

Last() public method

public Last ( string currentCommand ) : string
currentCommand string
return string

Next() public method

public Next ( string currentCommand ) : string
currentCommand string
return string

Previous() public method

public Previous ( string currentCommand ) : string
currentCommand string
return string

Reset() public method

public Reset ( ) : void
return void

ResetCurrentCommand() public method

public ResetCurrentCommand ( ) : void
return void