PhysicalFilesWatcher Class¶
- Namespace
Microsoft.Extensions.FileProviders.Physical- Assemblies
- Microsoft.Extensions.FileProviders.Physical
Syntax¶
public class PhysicalFilesWatcher : IDisposable
-
class
Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Constructors¶
-
PhysicalFilesWatcher(System.String, System.IO.FileSystemWatcher, System.Boolean)¶ public PhysicalFilesWatcher(string root, FileSystemWatcher fileSystemWatcher, bool pollForChanges)
-
Methods¶
-
CreateFileChangeToken(System.String)¶ Return type: Microsoft.Extensions.Primitives.IChangeToken public IChangeToken CreateFileChangeToken(string filter)
-
Dispose()¶ public void Dispose()
-