This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

ILocationBinding.Execute<TPayload> Method

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

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
void Execute<TPayload>(
	ILocationBindingAction<TPayload> action,
	ref TPayload payload
)

Parameters

action
Type: PostSharp.Aspects.ILocationBindingAction<TPayload>
Action.
payload
Type: TPayload
Payload.

Type Parameters

TPayload
Type of the payload passed to the payload parameter.
See Also