This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

FileChangeNotification Pennington.Infrastructure

A single file-change notification carrying the full path and the type of change.

Properties

ChangeType WatcherChangeTypes
Kind of change reported by FileSystemWatcher.
FullPath string
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

FullPath string
Absolute path to the file that changed.
ChangeType WatcherChangeTypes
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; }
}