2 implementations of ExpirationTokens
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
CacheTagHelperTest.cs (1)
977public IList<IChangeToken> ExpirationTokens { get; } = new List<IChangeToken>();
Microsoft.Extensions.Caching.Memory (1)
CacheEntry.cs (1)
139public IList<IChangeToken> ExpirationTokens => GetOrCreateTokens().ExpirationTokens;
6 references to ExpirationTokens
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
CacheTagHelperTest.cs (2)
215tempEntry.Setup(e => e.ExpirationTokens).Returns(new List<IChangeToken>()); 219finalEntry.Setup(e => e.ExpirationTokens).Returns(new List<IChangeToken>());
DefaultFileVersionProviderTest.cs (1)
265var cacheEntry = Mock.Of<ICacheEntry>(c => c.ExpirationTokens == new List<IChangeToken>());
GlobbingUrlBuilderTest.cs (2)
276value.Setup(c => c.ExpirationTokens).Returns(new List<IChangeToken>()); 414var cacheEntry = Mock.Of<ICacheEntry>(m => m.ExpirationTokens == new List<IChangeToken>());
Microsoft.Extensions.Caching.Abstractions (1)
CacheEntryExtensions.cs (1)
41entry.ExpirationTokens.Add(expirationToken);