C# Class ShellMe.CommandLine.History.InMemoryHistory

Inheritance: IConsoleHistory
Afficher le fichier Open project: dff-solutions/shell.me

Méthodes publiques

Méthode Description
Add ( string entry ) : void
Delete ( HistoryEntry entry ) : void
DeleteEntireHistory ( ) : void
GetNextEntry ( ) : HistoryEntry
GetPreviousEntry ( ) : HistoryEntry
InMemoryHistory ( ) : System.Collections.Generic
ResetHistoryMarker ( ) : void

Méthodes protégées

Méthode Description
InMemoryHistory ( List history ) : System.Collections.Generic
RestrictToMaxSize ( ) : void

Private Methods

Méthode Description
GetHighestIndex ( ) : int
GetLowestIndex ( ) : int
ReturnAtIndex ( int index ) : HistoryEntry

Method Details

Add() public méthode

public Add ( string entry ) : void
entry string
Résultat void

Delete() public méthode

public Delete ( HistoryEntry entry ) : void
entry HistoryEntry
Résultat void

DeleteEntireHistory() public méthode

public DeleteEntireHistory ( ) : void
Résultat void

GetNextEntry() public méthode

public GetNextEntry ( ) : HistoryEntry
Résultat HistoryEntry

GetPreviousEntry() public méthode

public GetPreviousEntry ( ) : HistoryEntry
Résultat HistoryEntry

InMemoryHistory() public méthode

public InMemoryHistory ( ) : System.Collections.Generic
Résultat System.Collections.Generic

InMemoryHistory() protected méthode

protected InMemoryHistory ( List history ) : System.Collections.Generic
history List
Résultat System.Collections.Generic

ResetHistoryMarker() public méthode

public ResetHistoryMarker ( ) : void
Résultat void

RestrictToMaxSize() protected méthode

protected RestrictToMaxSize ( ) : void
Résultat void