MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​AspectsEvent­Interception­ArgsReturn­Value
Open sandboxFocus

EventInterceptionArgs.ReturnValue Property

ReturnValue

In PostSharp, gets the return value after ProceedInvokeHandler() has been called. In Metalama, ProceedInvokeHandler() is not supported, however you can call the handler yourself (it is exposed as the value template parameter) and store the result in a local variable.

Declaration
public object ReturnValue { get; set; }
Property Value
Type Description
Object