PostSharpAPI ReferencePost­Sharp.​AspectsILocation­Binding­Action<TPayload>
Open sandboxFocus

Interface ILocationBindingAction<TPayload>

Exposes an Execute<TValue>(ILocationBinding<TValue>, ref TPayload) method invoked by the Execute<TPayload>(ILocationBindingAction<TPayload>, ref TPayload) method, which allows to execute strongly-typed operations and avoid boxing required by the weakly typed ILocationBinding interface.

Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
public interface ILocationBindingAction<TPayload>
Type Parameters
Name Description
TPayload

Type of the payload of the Execute<TValue>(ILocationBinding<TValue>, ref TPayload) method.

Methods

Name Description
Execute<TValue>(ILocationBinding<TValue>, ref TPayload)

Method invoked by the Execute<TPayload>(ILocationBindingAction<TPayload>, ref TPayload) method.