PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Model.​Controls Namespace / Undo­Command Class / Undo­Command Constructor / Undo­Command Constructor (Recorder)

UndoCommand Constructor (Recorder)

Initializes a new instance of the UndoCommand class and specifies to which Recorder it should be bound.

Namespace:  PostSharp.Patterns.Model.Controls
Assembly:  PostSharp.Patterns.Xaml (in PostSharp.Patterns.Xaml.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public UndoCommand(
	Recorder recorder
)

Parameters

recorder
Type: PostSharp.Patterns.Recording.Recorder
The Recorder to which the new UndoCommand should be bound.
See Also