Open sandboxFocus

Method GetFromCacheOrExecuteTaskAsync

GetFromCacheOrExecuteTaskAsync<TTaskResultType>(CachedMethodMetadata, object?, object?[], Func<object?, object?[], CancellationToken, Task<object?>>, CacheItemConfiguration?, CancellationToken)

Declaration
public Task<TTaskResultType?> GetFromCacheOrExecuteTaskAsync<TTaskResultType>(CachedMethodMetadata metadata, object? instance, object?[] args, Func<object?, object?[], CancellationToken, Task<object?>> func, CacheItemConfiguration? configuration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CachedMethodMetadata metadata
object instance
object[] args
Func<object, object[], CancellationToken, Task<object>> func
CacheItemConfiguration configuration
CancellationToken cancellationToken
Returns
Type Description
Task<TTaskResultType>
Type Parameters
Name Description
TTaskResultType
Implements