Table of Contents

Enum OptionsWatcherOptions

Namespace
Acuit.Pinpoint.Workstation.Configuration
Assembly
Acuit.Pinpoint.Workstation.Abstractions.dll

Options for options change watchers, used by RegisterOptionsWatcherAsync(Func<Task>, OptionsWatcherOptions, int).

[Flags]
public enum OptionsWatcherOptions

Fields

InvokeNow = 1

Indicates that the callback provided to the watcher registration should be invoked immediately.

When the callback is invoked immediately, RegisterOptionsWatcherAsync(Func<Task>, OptionsWatcherOptions, int) will not complete until the callback completes.

None = 0

No options specified.

OnlyIfStationIsStarted = 2

Indicates that the callback provided to the watcher registration should only be invoked when the station has started.

When this is specified, the callback will never be invoked when the station has not started. When the station starts, the callback will be invoked (whether or not the options actually changed as part of the station starting process). While the station is running, callbacks will occur as normal. If the station stops running, callbacks will stop occurring.