OptionsMonitor<TOptions> Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements IOptionsMonitor<TOptions>.
generic <typename TOptions>
where TOptions : classpublic ref class OptionsMonitor : IDisposable, Microsoft::Extensions::Options::IOptionsMonitor<TOptions>
public class OptionsMonitor<TOptions> : IDisposable, Microsoft.Extensions.Options.IOptionsMonitor<TOptions> where TOptions : class
type OptionsMonitor<'Options (requires 'Options : null)> = class
interface IOptionsMonitor<'Options (requires 'Options : null)>
interface IDisposable
Public Class OptionsMonitor(Of TOptions)
Implements IDisposable, IOptionsMonitor(Of TOptions)
- TOptions
The options type.
- Inheritance
-
OptionsMonitor<TOptions>
- Implements
Options |
Initializes a new instance of OptionsMonitor<TOptions> with the specified factory, sources, and cache. |
Current |
Gets the present value of the options (equivalent to |
Dispose() |
Removes all change registration subscriptions. |
Get(String) |
Returns a configured |
On |
Registers a listener to be called whenever |
On |
Registers a listener to be called whenever |
Toode | Versioonid |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
Toote „.NET“ tagasiside
.NET on avatud lähtekoodiga projekt. Tagasiside andmiseks valige link: