C# Class SogouTypedQueries.Journal

Maintains a chronological journal of the additions/changes to the IndexEntry. Journal entries are stored as a linked list, with the oldest entry starting from OldestEntry
Afficher le fichier Open project: stewhir/recent-robust-qac Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
AddEntry ( JournalEntry entry ) : void

Add an entry to the journal

GetEntriesBeforeDateAndDelete ( System.DateTime beforeDateTime ) : IEnumerable

Iterator for entries before the provided date. After the entry has been returned it will be removed from the journal. (THIS METHOD IS *NOT* THREAD-SAFE).

Journal ( ) : System

Initialise an empty journal

Method Details

AddEntry() public méthode

Add an entry to the journal
public AddEntry ( JournalEntry entry ) : void
entry JournalEntry
Résultat void

GetEntriesBeforeDateAndDelete() public méthode

Iterator for entries before the provided date. After the entry has been returned it will be removed from the journal. (THIS METHOD IS *NOT* THREAD-SAFE).
public GetEntriesBeforeDateAndDelete ( System.DateTime beforeDateTime ) : IEnumerable
beforeDateTime System.DateTime
Résultat IEnumerable

Journal() public méthode

Initialise an empty journal
public Journal ( ) : System
Résultat System