Comparteix a través de


PhysicalFilesWatcher Constructores

Definición

Sobrecargas

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Inicializa una instancia de PhysicalFilesWatcher que inspecciona archivos en root. Encapsula una instancia de FileSystemWatcher.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Inicializa una instancia de PhysicalFilesWatcher que inspecciona archivos en root. Encapsula una instancia de FileSystemWatcher.

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Source:
PhysicalFilesWatcher.cs
Source:
PhysicalFilesWatcher.cs
Source:
PhysicalFilesWatcher.cs
Source:
PhysicalFilesWatcher.cs

Inicializa una instancia de PhysicalFilesWatcher que inspecciona archivos en root. Encapsula una instancia de FileSystemWatcher.

public:
 PhysicalFilesWatcher(System::String ^ root, System::IO::FileSystemWatcher ^ fileSystemWatcher, bool pollForChanges);
public PhysicalFilesWatcher (string root, System.IO.FileSystemWatcher? fileSystemWatcher, bool pollForChanges);
new Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher : string * System.IO.FileSystemWatcher * bool -> Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Public Sub New (root As String, fileSystemWatcher As FileSystemWatcher, pollForChanges As Boolean)

Parámetros

root
String

Directorio raíz del monitor.

fileSystemWatcher
FileSystemWatcher

Monitor encapsulado que inspecciona root.

pollForChanges
Boolean

true si el monitor debe usar el sondeo para desencadenar instancias de IChangeToken creadas por CreateFileChangeToken(String).

Se aplica a

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Source:
PhysicalFilesWatcher.cs
Source:
PhysicalFilesWatcher.cs
Source:
PhysicalFilesWatcher.cs
Source:
PhysicalFilesWatcher.cs

Inicializa una instancia de PhysicalFilesWatcher que inspecciona archivos en root. Encapsula una instancia de FileSystemWatcher.

public:
 PhysicalFilesWatcher(System::String ^ root, System::IO::FileSystemWatcher ^ fileSystemWatcher, bool pollForChanges, Microsoft::Extensions::FileProviders::Physical::ExclusionFilters filters);
public PhysicalFilesWatcher (string root, System.IO.FileSystemWatcher? fileSystemWatcher, bool pollForChanges, Microsoft.Extensions.FileProviders.Physical.ExclusionFilters filters);
new Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher : string * System.IO.FileSystemWatcher * bool * Microsoft.Extensions.FileProviders.Physical.ExclusionFilters -> Microsoft.Extensions.FileProviders.Physical.PhysicalFilesWatcher
Public Sub New (root As String, fileSystemWatcher As FileSystemWatcher, pollForChanges As Boolean, filters As ExclusionFilters)

Parámetros

root
String

Directorio raíz del monitor.

fileSystemWatcher
FileSystemWatcher

Monitor encapsulado que inspecciona root.

pollForChanges
Boolean

true si el monitor debe usar el sondeo para desencadenar instancias de IChangeToken creadas por CreateFileChangeToken(String).

filters
ExclusionFilters

Especifica los archivos o directorios que se excluyen. Para estos no se generan notificaciones de cambios.

Se aplica a