GetFromCacheOrExecute<TResult>(CachedMethodMetadata, object?, object?[], Func<object?, object?[], object?>, CacheItemConfiguration?, CancellationToken)
Declaration
public 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 |