Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Watches a physical file system for changes and triggers events on
IChangeToken when files are created, change, renamed, or deleted.
Initializes a new instance of the PhysicalFilesWatcher class that watches files in root.
Wraps an instance of FileSystemWatcher.
public PhysicalFilesWatcher(string root, FileSystemWatcher fileSystemWatcher, bool pollForChanges, ExclusionFilters filters)
Initializes a new instance of the PhysicalFilesWatcher class that watches files in root.
Wraps an instance of FileSystemWatcher.
Creates an instance of IChangeToken for all files and directories that match the
filter.
Disposes the provider. Change tokens may not trigger after the provider is disposed.
Disposes the provider.