CachingServices.Invalidation.RecacheAsync<TReturn> Method (Func<Task<TReturn>>) |
Namespace: PostSharp.Patterns.Caching
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.9.11.0 (6.9.11.0)
public static Task<TReturn> RecacheAsync<TReturn>( Func<Task<TReturn>> method )
Parameters
- method
- Type: System.Func<Task<TReturn>>
A delegate of the method to evaluate.
Type Parameters
- TReturn
- The return type of the method.
Return Value
Type: Task<TReturn>A Task<TResult> that evaluates to the return value of method.