Table of Contents

Class TimestampedDictionary<TKey, TValue>

Namespace
Ecng.Net
Assembly
Ecng.Net.dll

Represents a collection of keys and values. Additionally contains a timestamp Last which can be used as since argument when polling for new data.

public class TimestampedDictionary<TKey, TValue> : Dictionary<TKey, TValue>, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable, ISerializable, IDeserializationCallback

Type Parameters

TKey

The type of the keys in the dictionary.

TValue

The type of the values in the dictionary.

Inheritance
Dictionary<TKey, TValue>
TimestampedDictionary<TKey, TValue>
Implements
IDictionary<TKey, TValue>
ICollection<KeyValuePair<TKey, TValue>>
IReadOnlyDictionary<TKey, TValue>
IEnumerable<KeyValuePair<TKey, TValue>>
Inherited Members
Extension Methods

Constructors

TimestampedDictionary()

public TimestampedDictionary()

Properties

Last

Id to be used as since when polling for new data.

public long Last { get; set; }

Property Value

long