IOptionsMonitor<T>

The singleton options interface whose CurrentValue always reflects the latest configuration and whose OnChange callback fires on reload.

In more detail

It is registered as a singleton and can be injected anywhere. Use it in a singleton that must notice a settings change while the app runs.

Related terms

Taught in

References