Class LimitedHistory<T>
Inheritance
LimitedHistory<T>
Assembly: Coree.NETStandard.dll
Syntax
public class LimitedHistory<T> : IDisposable
Type Parameters
Constructors
|
Edit this page
View Source
LimitedHistory(int, TimeSpan, TimeSpan)
Declaration
public LimitedHistory(int capacity = 100, TimeSpan entryAgeLimit = default, TimeSpan cleanupInterval = default)
Parameters
Methods
|
Edit this page
View Source
AddEntry(T)
Declaration
public void AddEntry(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
|
Edit this page
View Source
Dispose()
Declaration
|
Edit this page
View Source
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
|
Edit this page
View Source
~LimitedHistory()
Declaration
protected ~LimitedHistory()
|
Edit this page
View Source
GetEntries()
Declaration
public ImmutableList<TimedEntry<T>> GetEntries()
Returns
Implements