https://github.com/risadams/historicaldictionary
A .NET data structure library to track Key/Value changes over time.
https://github.com/risadams/historicaldictionary
dotnet key-value library
Last synced: about 1 year ago
JSON representation
A .NET data structure library to track Key/Value changes over time.
- Host: GitHub
- URL: https://github.com/risadams/historicaldictionary
- Owner: risadams
- License: mit
- Created: 2022-03-17T14:46:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T13:32:05.000Z (over 1 year ago)
- Last Synced: 2025-04-15T21:47:02.053Z (about 1 year ago)
- Topics: dotnet, key-value, library
- Language: C#
- Homepage:
- Size: 24.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# HistoricalDictionary
## Introduction
This is a lightweight library to add a history state to a dictionary.
## Installation
via nuget.org:
## Example
```csharp
var history = new HistoricalDictionary();
history.Add("key1", "value1");
history.Add("key1", "value2", DateTime.Now);
var value = history.Get("key1");
var value = history.Get("key1", DateTime.Now);
```
## Contribute
If you think this could be better, please [open an issue](https://github.com/risadams/HistoricalDictionary/issues/new)!
Please note that all interactions in this organization fall under our [Code of Conduct](CODE_OF_CONDUCT.md).
## License
[MIT](LICENSE) © 1996+ Ris Adams