PostSharpAPI ReferencePost­Sharp.​Patterns.​Recording.​OperationsField­Operation<T>
Open sandboxFocus

Class FieldOperation<T>

Encapsulates a modification of a field value.

Inheritance
FieldOperation<T>
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 this instance.

Methods

Name Description
GetMergeStatus(Operation)
Merge(Operation)
Redo(ReplayContext)
Undo(ReplayContext)
VisitAffectedObjects(Action<Object>)

Executes a given action on all recordable objects involved with the current Operation.

Explicit Interface Implementations

Name Description
IFieldOperation.NewValue
IFieldOperation.OldValue