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.
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class RestorePoint : Operation
The RestorePoint type exposes the following members.
Name | Description | |
---|---|---|
Name |
Gets the operation name.
(Inherited from Operation.) | |
OperationDescriptor |
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description
of the current operation.
(Inherited from Operation.) | |
OperationKind |
Gets the kind of operation.
(Overrides Operation.OperationKind.) | |
RestorePointName |
Gets the name of the current RestorePoint.
|
Name | Description | |
---|---|---|
Remove | ||
VisitAffectedObjects |
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).) |