Open sandboxFocus

Method Execute

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
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.