2 writes to _factoryWithContext
Microsoft.Extensions.Caching.Hybrid (2)
Internal\DefaultHybridCache.StampedeStateT.cs (2)
76
_factoryWithContext
= factory;
112
_factoryWithContext
= factory;
5 references to _factoryWithContext
Microsoft.Extensions.Caching.Hybrid (5)
Internal\DefaultHybridCache.StampedeStateT.cs (5)
71
Debug.Assert(
_factoryWithContext
is null, "should not already have factory field");
107
Debug.Assert(
_factoryWithContext
is null, "should not already have factory field");
322
if (
_factoryWithContext
is not null)
324
newValue = await
_factoryWithContext
(_state!, _context!, SharedToken).ConfigureAwait(false);
359
if (
_factoryWithContext
is not null && _context!.Revision != _factoryContextRevision)