RestorePoint Class
Represents a point to which operations can be undone or redone. A RestorePoint is a pseudo-Operation that does not represent any change.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.Operation
    PostSharp.Patterns.Recording.RestorePoint

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 sealed class RestorePoint : Operation

The RestorePoint type exposes the following members.

Properties
  NameDescription
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Inherited from Operation.)
Public propertyOperationKind
Gets the kind of operation.
(Overrides Operation.OperationKind.)
Public propertyRestorePointName
Gets the name of the current RestorePoint.
Top
Methods
  NameDescription
Public methodRemove
Removes the current RestorePoint from the UndoOperations or RedoOperations.
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).)
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also