PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching Namespace/Caching­Services.​Invalidation Class/Invalidation Methods/Invalidation.​Invalidate­Async Method

Invalidation.InvalidateAsync Method

Overload List
  NameDescription
Public methodStatic memberInvalidateAsync<TReturn>(Func<TReturn>)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 0 parameter.
Public methodStatic memberInvalidateAsync(Object)
Asynchronously invalidates a cache dependency given an Object, i.e. removes all cached items that are dependent on that object.
Public methodStatic memberInvalidateAsync(String)
Asynchronously invalidates a cache dependency given as String, i.e. removes all cache items that are dependent on this dependency key.
Public methodStatic memberInvalidateAsync(ICacheDependency)
Asynchronously invalidates a cache dependency given as an ICacheDependency, i.e. removes all cache items that are dependent on this dependency.
Public methodStatic memberInvalidateAsync<TReturn, TParam1>(Func<TParam1, TReturn>, TParam1)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 1 parameter.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2>(Func<TParam1, TParam2, TReturn>, TParam1, TParam2)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 2 parameters.
Public methodStatic memberInvalidateAsync(MethodInfo, Object, Object[])
Asynchronously removes a method call result from the cache giving the MethodInfo representing the method, the instance and the arguments of the method call.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3>(Func<TParam1, TParam2, TParam3, TReturn>, TParam1, TParam2, TParam3)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 3 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4>(Func<TParam1, TParam2, TParam3, TParam4, TReturn>, TParam1, TParam2, TParam3, TParam4)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 4 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4, TParam5>(Func<TParam1, TParam2, TParam3, TParam4, TParam5, TReturn>, TParam1, TParam2, TParam3, TParam4, TParam5)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 5 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6>(Func<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TReturn>, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 6 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7>(Func<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TReturn>, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 7 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8>(Func<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TReturn>, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 8 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9>(Func<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TReturn>, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 9 parameters.
Public methodStatic memberInvalidateAsync<TReturn, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10>(Func<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TReturn>, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10)
Asynchronously removes a method call result from the cache giving the delegate of the method. This overload is for methods with 10 parameters.
See Also