This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

FieldOperation<T> Class

Encapsulates a modification of a field value.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.Operation
    PostSharp.Patterns.Recording.Operations.FieldOperation<T>

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
public sealed class FieldOperation<T> : Operation, 
	IFieldOperation

Type Parameters

T

The FieldOperation<T> type exposes the following members.

Properties
  NameDescription
Public propertyLocation
Gets the LocationInfo of the modified field.
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Inherited from Operation.)
Public propertyOperationKind
Gets the kind of operation.
(Overrides Operation.OperationKind.)
Public propertyTarget
Gets the this instance.
Top
Methods
  NameDescription
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).)
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also