1 override of GetOrCreateAsync
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
112public override ValueTask<T> GetOrCreateAsync<TState, T>(string key, TState state, Func<TState, CancellationToken, ValueTask<T>> underlyingDataCallback,
2 references to GetOrCreateAsync
Microsoft.Extensions.Caching.Abstractions (1)
Hybrid\HybridCache.cs (1)
46=> GetOrCreateAsync(key, factory, WrappedCallbackCache<T>.Instance, options, tags, cancellationToken);
Microsoft.Extensions.Caching.Hybrid.Tests (1)
ServiceConstructionTests.cs (1)
108var actual = await cache.GetOrCreateAsync(Me(), expected, async (state, _) => state);