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

The action to execute.

TPayload payload

The payload to pass to the action.

Type Parameters
Name Description
TPayload

Type of the payload passed to the payload parameter.