TestimoX

API Reference

Class

ConfigurationWatcher

Namespace TestimoX.Configuration
Assembly TestimoX
Implements
IDisposable
Modifiers sealed

Watches a configuration file for changes and reloads settings when modified.

Inheritance

  • Object
  • ConfigurationWatcher

Constructors

public ConfigurationWatcher(String filePath) #

Creates a new watcher for the specified configuration file path.

Parameters

filePath System.String requiredposition: 0
Path to the JSON configuration file to watch.

Methods

public virtual Void Dispose() #
Returns: Void

Stops watching and releases file system watcher resources.

public Void Start() #
Returns: Void

Starts watching the file for changes and triggers a reload on write/size changes.