ILocationBinding Interface
Interface through which a field- or property-level aspect or advice can invoke the next node in the chain of invocation.

Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 4.3.30.0 (4.3.30.0)
Syntax
C#
public interface ILocationBinding

The ILocationBinding type exposes the following members.

Properties
  NameDescription
Public propertyDeclarationIdentifier
Gets the DeclarationIdentifier of the declaration that the binding represents.
Public propertyLocationInfo
Gets metadata information about the field or property represented by the current binding.
Public propertyLocationType
Gets the type of the field or property.
Top
Methods
  NameDescription
Public methodExecute<TPayload>
Provides a mechanism to execute a strongly-typed action that depends on the type of the current location.
Public methodGetValue
Invokes the Get semantic on the next node in the chain of invocation.
Public methodSetValue
Invokes the Set semantic on the next node in the chain of invocation.
Top
Extension Methods
  NameDescription
Public Extension MethodGetValue(Object)Overloaded.
Gets the value of a field or property.
(Defined by LocationBindingExtensions.)
Public Extension MethodGetValue(Object, Arguments)Overloaded.
Gets the value of an indexer (property with arguments).
(Defined by LocationBindingExtensions.)
Public Extension MethodSetValue(Object, Object)Overloaded.
Sets the value of a field or property.
(Defined by LocationBindingExtensions.)
Public Extension MethodSetValue(Object, Arguments, Object)Overloaded.
Sets the value of an indexer (property with arguments).
(Defined by LocationBindingExtensions.)
Top
See Also