Novolis.Snapshots.Memory
2026.1.2.41
dotnet add package Novolis.Snapshots.Memory --version 2026.1.2.41
NuGet\Install-Package Novolis.Snapshots.Memory -Version 2026.1.2.41
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Novolis.Snapshots.Memory" Version="2026.1.2.41" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Novolis.Snapshots.Memory" Version="2026.1.2.41" />
<PackageReference Include="Novolis.Snapshots.Memory" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Novolis.Snapshots.Memory --version 2026.1.2.41
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novolis.Snapshots.Memory, 2026.1.2.41"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Novolis.Snapshots.Memory@2026.1.2.41
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Novolis.Snapshots.Memory&version=2026.1.2.41
#tool nuget:?package=Novolis.Snapshots.Memory&version=2026.1.2.41
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Novolis.Snapshots.Memory
In-process ISnapshotStore that clones state via an IStateSerializer round-trip into a ConcurrentDictionary. Useful for tests and ephemeral undo stacks.
Install
dotnet add package Novolis.Snapshots.Memory
Depends on Novolis.Snapshots.Abstractions.
Quick start
using Novolis.Snapshots;
using Novolis.Snapshots.Json;
using Novolis.Snapshots.Memory;
var serializer = new JsonStateSerializer<Dictionary<string, string>>();
var store = new MemorySnapshotStore<Dictionary<string, string>>(serializer, () => new());
var snapshot = await store.SaveAsync(
new Dictionary<string, string> { ["scene"] = "draft" },
new SnapshotRequest("Checkpoint", SnapshotKinds.Manual));
var restored = await store.LoadAsync(snapshot);
API
| Type | Role |
|---|---|
MemorySnapshotStore<TState> |
ISnapshotStore<TState, MemorySnapshotRef> |
MemorySnapshotStore<TState>.LoadAsync |
Factory + restore into a new instance |
Related
| Package | Role |
|---|---|
Novolis.Snapshots.Abstractions |
ISnapshotStore, MemorySnapshotRef |
Novolis.Snapshots.Json |
Common serializer for memory stores |
Novolis.Snapshots.FileSystem |
Durable blob backend |
Novolis.Snapshots.Zip |
Zip archive backend |
Novolis.Timeline.Memory |
In-memory timeline over snapshot refs |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Novolis.Snapshots.Abstractions (>= 2026.1.2.41)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.2.41 | 0 | 10/5/2026 |
| 2026.1.2.40 | 39 | 10/4/2026 |
| 2026.1.2.38 | 56 | 10/2/2026 |
| 2026.1.2.37 | 46 | 10/1/2026 |
| 2026.1.2.36 | 44 | 10/1/2026 |
| 2026.1.2.35 | 51 | 9/30/2026 |