Open sandboxFocus

Method GetFromCacheOrExecute

GetFromCacheOrExecute<TResult>(CachedMethodMetadata, object?, object?[], Func<object?, object?[], object?>, CacheItemConfiguration?, CancellationToken)

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