封裝四種事件監視旗標與監視路徑陣列:
private bool bolLogRenamed = true;
public bool LogRenamed { get => bolLogRenamed; set => bolLogRenamed = value; }
private bool bolLogChanged = true;
public bool LogChanged { get => bolLogChanged; set => bolLogChanged = value; }
private bool bolLogCreated = true;
public bool LogCreated { get => bolLogCreated; set => bolLogCreated = value; }
private bool bolLogDeleted = true;
public bool LogDeleted { get => bolLogDeleted; set => bolLogDeleted = value; }
private string[] myWatchedPaths = null;
public string[] WatchedPaths { get => myWatchedPaths; set => myWatchedPaths = value; }
預設全部啟用,路徑為 null。修改設定後需重新啟動服務才生效(服務僅在 OnStart 讀取設定)。