Click or drag to resize

IMementoT Interface

Represents the interface that provides functionalities of a memento.

Namespace: RAYLASE.Marker.UndoRedo
Assembly: RAYLASE.Marker.UndoRedo (in RAYLASE.Marker.UndoRedo.dll) Version: 2.19.0
Syntax
C#
public interface IMemento<in T> : IDisposable

Type Parameters

T
The type of the memento.

The IMementoT type exposes the following members.

Properties
 NameDescription
Public propertyDescription Provides a description about the memento.
Top
Methods
 NameDescription
Public methodGetWeight Get approximate resource size allocated for this memento. The value is arbitrary. This could be used for stack usage consideration.
Public methodRestore Restores target to the state memorized by this memento.
Top
See Also