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)

Determines how a given Operation can be merged with the current Operation.

Merge(Operation)

Merges a given Operation into the current 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.