PostSharp6.0/API Reference/Post­Sharp.​Aspects Namespace/Method­Interception­Args Class/Method­Interception­Args Properties/Method­Interception­Args.​Binding Property

MethodInterceptionArgs.Binding Property

Gets an interface that allows to invoke the next node in the chain of invocation of the intercepted method.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 6.1.6.0 (6.1.6.0)
Syntax
C#
public abstract IMethodBinding Binding { get; }

Property Value

Type: IMethodBinding
Remarks

Bindings are thread-safe and context-free singleton instances exposing the next node in the chain of invocation.

Note Note
As a result of weaving optimizations, value of this property may be seen null in a debugger. If you need to inspect the value in runtime, consider disabling aspect optimizations in the debug build configuration.
See Also