OptionsManager<TOptions> Class
Definition
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 : class, gcnew()public ref class OptionsManager : Microsoft::Extensions::Options::IOptions<TOptions>
generic <typename TOptions>
where TOptions : class, gcnew()public ref class OptionsManager : Microsoft::Extensions::Options::IOptions<TOptions>, Microsoft::Extensions::Options::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> where TOptions : class, new()
public class OptionsManager<TOptions> : Microsoft.Extensions.Options.IOptions<TOptions>, Microsoft.Extensions.Options.IOptionsSnapshot<TOptions> where TOptions : class, new()
public class OptionsManager<TOptions> : Microsoft.Extensions.Options.IOptions<TOptions>, Microsoft.Extensions.Options.IOptionsSnapshot<TOptions> where TOptions : class
type OptionsManager<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = class
interface IOptions<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
type OptionsManager<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = class
interface IOptions<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
interface IOptionsSnapshot<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))>
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)
Public Class OptionsManager(Of TOptions)
Implements IOptions(Of TOptions), IOptionsSnapshot(Of TOptions)
Type Parameters
- TOptions
Options type.
- Inheritance
-
OptionsManager<TOptions>
- Implements
Constructors
OptionsManager<TOptions>(IEnumerable<IConfigureOptions<TOptions>>) |
Initializes a new instance with the specified options configurations. |
OptionsManager<TOptions>(IOptionsFactory<TOptions>) |
Initializes a new instance with the specified options configurations. |
Properties
Value |
The default configured |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get(String) |
Returns a configured |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |