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)
71Debug.Assert(_factoryWithContext is null, "should not already have factory field"); 107Debug.Assert(_factoryWithContext is null, "should not already have factory field"); 322if (_factoryWithContext is not null) 324newValue = await _factoryWithContext(_state!, _context!, SharedToken).ConfigureAwait(false); 359if (_factoryWithContext is not null && _context!.Revision != _factoryContextRevision)