Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
public abstract void Execute<TPayload>( ILocationInterceptionArgsAction<TPayload> action, ref TPayload payload )
- Type: PostSharp.Aspects.ILocationInterceptionArgsAction< >
Class (typically a singleton) that contains the generic method Execute<TValue>(ILocationInterceptionArgs<TValue>, TPayload) that will be executed with the right method generic argument.
An argument being passed to the Execute<TValue>(ILocationInterceptionArgs<TValue>, TPayload) method of the action parameter.
- Type of the payload.
This method is ignored by the advice optimizer. As a result, the optimizer will not know that the action implementation uses any feature of the LocationInterceptionArgs object, and the code supporting these features won't be generated. If these features are required by action, they must be referenced inside the OnGetValue(LocationInterceptionArgs) or OnSetValue(LocationInterceptionArgs) method.