MementoContainer 1.1.0
dotnet add package MementoContainer --version 1.1.0
NuGet\Install-Package MementoContainer -Version 1.1.0
<PackageReference Include="MementoContainer" Version="1.1.0" />
paket add MementoContainer --version 1.1.0
#r "nuget: MementoContainer, 1.1.0"
// Install MementoContainer as a Cake Addin #addin nuget:?package=MementoContainer&version=1.1.0 // Install MementoContainer as a Cake Tool #tool nuget:?package=MementoContainer&version=1.1.0
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.
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