MementoContainer 1.1.1
dotnet add package MementoContainer --version 1.1.1
NuGet\Install-Package MementoContainer -Version 1.1.1
<PackageReference Include="MementoContainer" Version="1.1.1" />
paket add MementoContainer --version 1.1.1
#r "nuget: MementoContainer, 1.1.1"
// Install MementoContainer as a Cake Addin #addin nuget:?package=MementoContainer&version=1.1.1 // Install MementoContainer as a Cake Tool #tool nuget:?package=MementoContainer&version=1.1.1
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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Added: Support for taking snapshots of collections (see project wiki)
Added: 'Cascade' flag to attributes constructors (see project wiki)
Added: MementoCollectionAttribute
Added: Collection adapters
Improved: Moved exceptions and attributes to the 'MementoContainer' namespace
Removed: MementoClassAttribute cannot be used on interfaces anymore
Fixed: Property chain validation