8 instantiations of TestFileChangeToken
Microsoft.AspNetCore.Mvc.TagHelpers.Test (6)
DefaultFileVersionProviderTest.cs (1)
328
.Returns(new
TestFileChangeToken
());
GlobbingUrlBuilderTest.cs (2)
467
.Returns(new
TestFileChangeToken
());
515
.Returns(new
TestFileChangeToken
());
ImageTagHelperTest.cs (1)
374
.Returns(new
TestFileChangeToken
());
LinkTagHelperTest.cs (1)
1184
.Returns(new
TestFileChangeToken
());
ScriptTagHelperTest.cs (1)
1151
.Returns(new
TestFileChangeToken
());
Microsoft.AspNetCore.Mvc.Views.TestCommon (2)
TestFileProvider.cs (2)
85
var changeToken = new
TestFileChangeToken
(filter);
95
changeToken = new
TestFileChangeToken
(filter);
6 references to TestFileChangeToken
Microsoft.AspNetCore.Mvc.Views.TestCommon (6)
TestFileProvider.cs (6)
15
private readonly Dictionary<string,
TestFileChangeToken
> _fileTriggers =
16
new Dictionary<string,
TestFileChangeToken
>(StringComparer.Ordinal);
83
public virtual
TestFileChangeToken
AddChangeToken(string filter)
85
var
changeToken = new TestFileChangeToken(filter);
93
if (!_fileTriggers.TryGetValue(filter, out
var
changeToken) || changeToken.HasChanged)
102
public
TestFileChangeToken
GetChangeToken(string filter)