Table of Contents

Namespace PatternKit.Generators

Classes

GenerateStrategyAttribute
MementoAttribute

Marks a type (class/struct/record class/record struct) for Memento pattern code generation. Generates an immutable memento struct for capturing and restoring state snapshots, with optional undo/redo caretaker history management.

MementoIgnoreAttribute

Marks a member to be excluded from the generated memento. Only applies when InclusionMode is IncludeAll.

MementoIncludeAttribute

Marks a member to be explicitly included in the generated memento. Only applies when InclusionMode is ExplicitOnly.

MementoStrategyAttribute

Specifies the capture strategy for a member in the memento. Determines how the member value is copied when creating a snapshot.

Enums

MementoCaptureStrategy

Defines how a member's value is captured in the memento snapshot.

MementoInclusionMode

Determines how members are selected for inclusion in the memento.

StrategyKind