PostSharpAPI ReferencePost­Sharp.​Aspects.​InternalsLocation­Binding<T>Execute
Open sandboxFocus

LocationBinding<T>.Execute Method

Execute<TPayload>(ILocationBindingAction<TPayload>, ref TPayload)

Provides a mechanism to execute a strongly-typed action that depends on the type of the current location.

Declaration
public void Execute<TPayload>(ILocationBindingAction<TPayload> action, ref TPayload payload)
Parameters
Type Name Description
ILocationBindingAction<TPayload> action

Action.

TPayload payload

Payload.

Type Parameters
Name Description
TPayload

Type of the payload passed to the payload parameter.

Implements
ILocationBinding.Execute<TPayload>(ILocationBindingAction<TPayload>, ref TPayload)