MementoContainer is an alternative approach to the Memento design pattern.
It is a lightweight utility that takes a snapshot of your objects' state so that you can easily rollback to a previous state when recovering from errors.
Install-Package MementoContainer -Version 1.1.1
dotnet add package MementoContainer --version 1.1.1
<PackageReference Include="MementoContainer" Version="1.1.1" />
paket add MementoContainer --version 1.1.1
Added: Support for taking snapshots of collections (see project wiki)
Added: 'Cascade' flag to attributes constructors (see project wiki)
Added: Collection adapters
Improved: Moved exceptions and attributes to the 'MementoContainer' namespace
Removed: MementoClassAttribute cannot be used on interfaces anymore
Fixed: Property chain validation
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.