FileChangeNotification
Pennington.Infrastructure
A single file-change notification carrying the full path and the type of change.
Properties
ChangeTypeWatcherChangeTypes- Kind of change reported by
FileSystemWatcher. FullPathstring- Absolute path to the file that changed.
Constructors
FileChangeNotification
#public FileChangeNotification(string FullPath, WatcherChangeTypes ChangeType)
A single file-change notification carrying the full path and the type of change.
Parameters
FullPathstring- Absolute path to the file that changed.
ChangeTypeWatcherChangeTypes- Kind of change reported by
FileSystemWatcher.
Pennington.Infrastructure.FileChangeNotification
namespace Pennington.Infrastructure;
/// A single file-change notification carrying the full path and the type of change.
public struct FileChangeNotification
{
/// Kind of change reported by FileSystemWatcher.
public WatcherChangeTypes ChangeType { get; set; }
/// A single file-change notification carrying the full path and the type of change.
public FileChangeNotification(string FullPath, WatcherChangeTypes ChangeType)
;
/// Absolute path to the file that changed.
public string FullPath { get; set; }
}