PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Threading­Instrumentation/Threading­Instrumentation­Policy.​Task­Enhancements/Run_Generic_Func­Of­Task
Open sandboxFocus

Method Run_Generic_FuncOfTask

Run_Generic_FuncOfTask<T>(Func<Task<T>>, out Task<T>)

Declaration
[OnMethodInvokeAdvice]
[MatchPointcut("Run")]
[MethodInterceptionAdviceOptimization]
[DebuggerAspectMethod]
public static void Run_Generic_FuncOfTask<T>([Argument(0)] Func<Task<T>> action, [ReturnValue] out Task<T> returnValue)
Parameters
Type Name Description
Func<Task<T>> action
Task<T> returnValue
Type Parameters
Name Description
T