18 implementations of Watch
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
Builder\TestFileProvider\TestFileProvider.cs (1)
91public virtual IChangeToken Watch(string filter)
Microsoft.AspNetCore.Components.WebView (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
237public IChangeToken Watch(string filter) => NullChangeToken.Singleton;
Microsoft.AspNetCore.Components.WebView.Maui (1)
iOS\iOSMauiAssetFileProvider.cs (1)
29 public IChangeToken Watch(string filter)
Microsoft.AspNetCore.Components.WebView.Test (2)
Infrastructure\TestFileProvider.cs (1)
21public IChangeToken Watch(string filter)
StaticContentProviderTests.cs (1)
68public IChangeToken Watch(string filter)
Microsoft.AspNetCore.Diagnostics.Tests (1)
ExceptionDetailsProviderTest.cs (1)
298public IChangeToken Watch(string filter)
Microsoft.AspNetCore.Hosting (1)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (1)
237public IChangeToken Watch(string filter) => NullChangeToken.Singleton;
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
TestFileProvider.cs (1)
91public virtual IChangeToken Watch(string filter)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
CertificatePathWatcherTests.cs (2)
490IChangeToken IFileProvider.Watch(string filter) => NoChangeChangeToken.Instance; 546IChangeToken IFileProvider.Watch(string path)
Microsoft.AspNetCore.StaticFiles.Tests (1)
StaticFileContextTest.cs (1)
172public IChangeToken Watch(string filter)
Microsoft.Extensions.Configuration.KeyPerFile.Tests (1)
KeyPerFileTests.cs (1)
446public IChangeToken Watch(string filter) => _changeToken;
Microsoft.Extensions.FileProviders.Abstractions (1)
NullFileProvider.cs (1)
32public IChangeToken Watch(string filter) => NullChangeToken.Singleton;
Microsoft.Extensions.FileProviders.Composite (1)
CompositeFileProvider.cs (1)
76public IChangeToken Watch(string pattern)
Microsoft.Extensions.FileProviders.Embedded (2)
EmbeddedFileProvider.cs (1)
176public IChangeToken Watch(string pattern)
ManifestEmbeddedFileProvider.cs (1)
117public IChangeToken Watch(string filter)
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
355public IChangeToken Watch(string filter)
RazorBuildWebSite (1)
UpdateableFileProvider.cs (1)
65public IChangeToken Watch(string filter)
23 references to Watch
Microsoft.AspNetCore.Mvc.Razor (2)
Infrastructure\DefaultFileVersionProvider.cs (2)
60cacheEntryOptions.AddExpirationToken(FileProvider.Watch(resolvedPath)); 68cacheEntryOptions.AddExpirationToken(FileProvider.Watch(requestPathBaseRelativePath));
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (5)
PageActionDescriptorChangeProvider.cs (2)
63changeTokens[i] = fileProvider.Watch(_additionalFilesToTrack[i]); 68var wildcardChangeToken = fileProvider.Watch(_searchPatterns[i]);
RuntimeViewCompiler.cs (3)
240_fileProvider.Watch(normalizedPath), 289expirationTokens.Add(_fileProvider.Watch(checksums[i].Identifier)); 306expirationTokens.Add(_fileProvider.Watch(file.FilePath));
Microsoft.AspNetCore.Mvc.TagHelpers (1)
GlobbingUrlBuilder.cs (1)
123var changeToken = FileProvider.Watch(includePattern.Value);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (12)
DefaultFileVersionProviderTest.cs (6)
56mockFileProvider.Verify(f => f.Watch(It.IsAny<string>()), Times.Once()); 64mockFileProvider.Verify(f => f.Watch(It.IsAny<string>()), Times.Once()); 86mockFileProvider.Verify(f => f.Watch(It.IsAny<string>()), Times.Once()); 94mockFileProvider.Verify(f => f.Watch(It.IsAny<string>()), Times.Once()); 263.Setup(f => f.Watch(watchPath)).Returns(changeToken); 327mockFileProvider.Setup(fp => fp.Watch(It.IsAny<string>()))
GlobbingUrlBuilderTest.cs (3)
273Mock.Get(fileProvider).Setup(f => f.Watch(It.IsAny<string>())).Returns(changeToken.Object); 466fileProvider.Setup(fp => fp.Watch(It.IsAny<string>())) 514fileProvider.Setup(fp => fp.Watch(It.IsAny<string>()))
ImageTagHelperTest.cs (1)
373mockFileProvider.Setup(fp => fp.Watch(It.IsAny<string>()))
LinkTagHelperTest.cs (1)
1183mockFileProvider.Setup(fp => fp.Watch(It.IsAny<string>()))
ScriptTagHelperTest.cs (1)
1150mockFileProvider.Setup(fp => fp.Watch(It.IsAny<string>()))
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationProvider.cs (1)
35() => Source.FileProvider.Watch(Source.Path!),
Microsoft.Extensions.Configuration.KeyPerFile (1)
KeyPerFileConfigurationProvider.cs (1)
32() => Source.FileProvider.Watch("*"),
Microsoft.Extensions.FileProviders.Composite (1)
CompositeFileProvider.cs (1)
82IChangeToken changeToken = fileProvider.Watch(pattern);