PhysicalFilesWatcher Konstruktory

Definice

Přetížení

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Inicializuje instanci PhysicalFilesWatcher , která sleduje soubory v nástroji root. Zabalí instanci .FileSystemWatcher

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Inicializuje instanci PhysicalFilesWatcher , která sleduje soubory v nástroji root. Zabalí instanci .FileSystemWatcher

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean)

Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs

Inicializuje instanci PhysicalFilesWatcher , která sleduje soubory v nástroji root. Zabalí instanci .FileSystemWatcher

public:
 PhysicalFilesWatcher(System::String ^ root, System::IO::FileSystemWatcher ^ fileSystemWatcher, bool pollForChanges);
public PhysicalFilesWatcher (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)

Parametry

root
String

Kořenový adresář sledovacího procesu.

fileSystemWatcher
FileSystemWatcher

Zabalený sledovací proces, který sleduje root.

pollForChanges
Boolean

true kdy by sledovací proces měl použít dotazování k aktivaci instancí vytvořených IChangeToken nástrojem CreateFileChangeToken(String).

Platí pro

PhysicalFilesWatcher(String, FileSystemWatcher, Boolean, ExclusionFilters)

Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs
Zdroj:
PhysicalFilesWatcher.cs

Inicializuje instanci PhysicalFilesWatcher , která sleduje soubory v nástroji root. Zabalí instanci .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);
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)

Parametry

root
String

Kořenový adresář sledovacího procesu.

fileSystemWatcher
FileSystemWatcher

Zabalený sledovací proces, který sleduje root.

pollForChanges
Boolean

true kdy by sledovací proces měl použít dotazování k aktivaci instancí vytvořených IChangeToken nástrojem CreateFileChangeToken(String).

filters
ExclusionFilters

Určuje, které soubory nebo adresáře jsou vyloučené. Oznámení o změnách se na tyto změny nezvýšují.

Platí pro