// When the file at the given path changes, // we'll call the supplied action. public static void Listen(string virtualPath, Action<string> action) { var notifier = new ConfigFileChangeNotifier(action); notifier.ListenForChanges(virtualPath); }
// When the file at the given path changes, // we'll call the supplied action. public static void Listen(string virtualPath, Action <string> action) { var notifier = new ConfigFileChangeNotifier(action); notifier.ListenForChanges(virtualPath); }