8 references to AddExpirationToken
HtmlGenerationWebSite (1)
ProductsService.cs (1)
44new MemoryCacheEntryOptions().AddExpirationToken(changeToken));
Microsoft.AspNetCore.Mvc.Razor (4)
Infrastructure\DefaultFileVersionProvider.cs (2)
60cacheEntryOptions.AddExpirationToken(FileProvider.Watch(resolvedPath)); 68cacheEntryOptions.AddExpirationToken(FileProvider.Watch(requestPathBaseRelativePath));
RazorViewEngine.cs (2)
198cacheEntryOptions.AddExpirationToken(expirationToken); 384cacheEntryOptions.AddExpirationToken(expirationToken);
Microsoft.AspNetCore.Mvc.TagHelpers (2)
CacheTagHelper.cs (1)
95options.AddExpirationToken(new CancellationChangeToken(tokenSource.Token));
GlobbingUrlBuilder.cs (1)
124options.AddExpirationToken(changeToken);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
CacheTagHelperTest.cs (1)
491.AddExpirationToken(new CancellationChangeToken(tokenSource.Token));