Encapsulates a modification of a field value.
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
[Obsolete("[Recordable] aspect and its components are deprecated and will be removed in a future version.", false)]
public sealed class FieldOperation<T> : Operation, IOperationDescriptor, IFieldOperationType 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. |