Encapsulates a modification of a field value.
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class FieldOperation<T> : Operation, IOperationDescriptor, IFieldOperation
Type Parameters
Name | Description |
---|---|
T |
Properties
Name | Description |
---|---|
Location | Gets the LocationInfo of the modified field. |
OperationKind | Gets the kind of operation. |
Target | Gets the |
Methods
Name | Description |
---|---|
GetMergeStatus(Operation) | Determines how a given Operation can be merged with the current Operation. |
Merge(Operation) | |
Redo(ReplayContext) | Redo the current operation. |
Undo(ReplayContext) | Undo the current operation. |
VisitAffectedObjects(Action<object>) | Executes a given action on all recordable objects involved with the current Operation. |