FileWatchResponse
Pennington.Infrastructure
How a file-watched service wants FileWatchDispatcher to treat a change.
Fields
IgnoreFileWatchResponse- Default:
0The change is irrelevant; nothing was done. RecreateFileWatchResponse- Default:
2Drop the instance; a fresh one is built on the next resolve. RefreshedFileWatchResponse- Default:
1The service refreshed its own state in place; keep the instance.
Pennington.Infrastructure.FileWatchResponse
namespace Pennington.Infrastructure;
/// How a file-watched service wants FileWatchDispatcher to treat a change.
public enum FileWatchResponse
{
/// The change is irrelevant; nothing was done.
public static const FileWatchResponse Ignore
;
/// Drop the instance; a fresh one is built on the next resolve.
public static const FileWatchResponse Recreate
;
/// The service refreshed its own state in place; keep the instance.
public static const FileWatchResponse Refreshed
;
}