OptionsManager<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.
Implementation of IOptions<TOptions> and IOptionsSnapshot<TOptions>.
generic <typename TOptions>
where TOptions : classpublic ref class OptionsManager : Microsoft::Extensions::Options::IOptions<TOptions>, Microsoft::Extensions::Options::IOptionsSnapshot<TOptions>
public class OptionsManager<TOptions> : Microsoft.Extensions.Options.IOptions<TOptions>, Microsoft.Extensions.Options.IOptionsSnapshot<TOptions> where TOptions : class
type OptionsManager<'Options (requires 'Options : null)> = class
interface IOptions<'Options (requires 'Options : null)>
interface IOptionsSnapshot<'Options (requires 'Options : null)>
Public Class OptionsManager(Of TOptions)
Implements IOptions(Of TOptions), IOptionsSnapshot(Of TOptions)
- TOptions
Options type.
- Inheritance
-
OptionsManager<TOptions>
- Implements
Options |
Initializes a new instance with the specified options configurations. |
Value |
The default configured |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get(String) |
Returns a configured |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Produkt | Versions |
---|---|
.NET | 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided), 2.1 (package-provided) |
.NET feedback
.NET er et åben kildekode projekt. Vælg et link for at give feedback: