Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Watches a physical file system for changes and triggers events on
IChangeToken when files or directories are created, changed, renamed, or deleted.
namespace Microsoft.Extensions.FileProviders.Physical
{
public class PhysicalFilesWatcher : IDisposable
{
public PhysicalFilesWatcher(string root, FileSystemWatcher fileSystemWatcher, bool pollForChanges);
public PhysicalFilesWatcher(string root, FileSystemWatcher fileSystemWatcher, bool pollForChanges, ExclusionFilters filters);
public IChangeToken CreateFileChangeToken(string filter);
public void Dispose();
protected virtual void Dispose(bool disposing);
}
}