PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Interception­ArgsBinding
Open sandboxFocus

MethodInterceptionArgs.Binding Property

Binding

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

Declaration
public abstract IMethodBinding Binding { get; }
Property Value
Type Description
IMethodBinding
Remarks

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

note

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