This is the online documentation for PostSharp 4.3.
Download PDF or CHM. Go to v4.3 or v5.0
Recorder.AddRestorePoint Method
Adds new restore point with given name.

Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.31.0 (4.3.31.0)
Syntax
C#
public RestorePoint AddRestorePoint(
	string name = null
)

Parameters

name (Optional)
Type: System.String
The name of the restore point, or null to create an unnamed restore point.

Return Value

Type: RestorePoint
The newly created RestorePoint.
Remarks

A RestorePoint can be used as an argument to the UndoTo(Operation) or RedoTo(Operation) method.

To remove a RestorePoint from UndoOperations or RedoOperations, call the Remove() method.

See Also