Class TimedDictionary<TKey, TValue>
Class used to identify a dictionary that also contains the date of last edit.
Namespace: VRLabs.SimpleShaderInspectors
Syntax
public class TimedDictionary<TKey, TValue>
Type Parameters
|
TKey
Type of the key |
|
TValue
Type of the value |
Constructors
| Name | Description |
|---|---|
| TimedDictionary() | Default constructor |
Properties
| Name | Description |
|---|---|
| Keys | Keys stored in the dictionary |
Methods
| Name | Description |
|---|---|
| ClearOld() | Clears values older than 30 days from the dictionary. |
| GetSerializedDictionary() | Gets a list of all values stored in the dictionary in an easier to serialize form. |
| SetValue(TKey, TValue) | Set value with the specified key |
| SetValue(TKey, TValue, DateTime) | Set value and inserted date with the specified key. should be used only when loading the dictionary from storage. |
| TryGetValue(TKey, out TValue) | Try to get the value with the specified key |