Aracılığıyla paylaş


OptionsMonitorExtensions Class

Definition

Extension methods for IOptionsMonitor<TOptions>.

public ref class OptionsMonitorExtensions abstract sealed
public static class OptionsMonitorExtensions
type OptionsMonitorExtensions = class
Public Module OptionsMonitorExtensions
Inheritance
OptionsMonitorExtensions

Methods

OnChange<TOptions>(IOptionsMonitor<TOptions>, Action<TOptions>)

Registers a listener to be called whenever TOptions changes.

Applies to