2 writes to UsePollingFileWatcher
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\CertificatePathWatcher.cs (1)
40
UsePollingFileWatcher
= true,
Microsoft.Extensions.FileProviders.Physical (1)
PhysicalFileProvider.cs (1)
169
UsePollingFileWatcher
= true;
4 references to UsePollingFileWatcher
Microsoft.Extensions.FileProviders.Physical (4)
PhysicalFileProvider.cs (4)
105
throw new InvalidOperationException(SR.Format(SR.CannotModifyWhenFileWatcherInitialized, nameof(
UsePollingFileWatcher
)));
123
/// This property is only effective when <see cref="
UsePollingFileWatcher
"/> is set.
177
watcher =
UsePollingFileWatcher
&& UseActivePolling ? null : new FileSystemWatcher(root);
180
return new PhysicalFilesWatcher(root, watcher,
UsePollingFileWatcher
, _filters)