C# Class Commander.Core.CommandHistoryManager

Inheritance: ICommandHistory
Show file Open project: SneWs/Commander Class Usage Examples

Public Methods

Method Description
Add ( string command ) : void
Clear ( ) : void
CommandHistoryManager ( FileInfo historyFile ) : System
Dispose ( ) : void
GetMatching ( string command ) : List
Init ( ) : void

Private Methods

Method Description
LoadHistoryFromFile ( ) : void
WriteToFile ( string command ) : void

Method Details

Add() public method

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

Clear() public method

public Clear ( ) : void
return void

CommandHistoryManager() public method

public CommandHistoryManager ( FileInfo historyFile ) : System
historyFile System.IO.FileInfo
return System

Dispose() public method

public Dispose ( ) : void
return void

GetMatching() public method

public GetMatching ( string command ) : List
command string
return List

Init() public method

public Init ( ) : void
return void