Class FileSystemWatcherBase
Base class for file system watcher objects.
Inheritance
FileSystemWatcherBase
Assembly: FlaxEngine.dll
File: Engine/Platform/Base/FileSystemWatcherBase.h
Syntax
public class FileSystemWatcherBase : public NonCopyable
Constructors
FileSystemWatcherBase(const String& directory, bool withSubDirs)
Declaration
public FileSystemWatcherBase(const String& directory, bool withSubDirs)
Parameters
String
directory
|
bool
withSubDirs
|
Fields
Directory
Enabled
The current watcher enable state.
Declaration
public bool Enabled
Field Value
bool
|
OnEvent
Action fired when directory or file gets changed. Can be invoked from main or other thread depending on the platform.
Declaration
public Delegate<String, FileSystemAction> OnEvent
Field Value
Delegate<String, FileSystemAction>
|
WithSubDirs
The value whenever watcher is tracking changes in subdirectories.
Declaration
public bool WithSubDirs
Field Value
bool
|