PostSharpAPI ReferencePost­Sharp.​Patterns.​RecordingIRecordable­Callback
Open sandboxFocus

IRecordableCallback Interface

Defines callback methods that are invoked when a recordable object is involved in an undo or redo operation.

Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model.dll
public interface IRecordableCallback


Name Description
OnReplayed(ReplayKind, ReplayContext)

Method invoked after the undo or redo operation has started.

OnReplaying(ReplayKind, ReplayContext)

Method invoked before the undo or redo operation has started.