Microsoft.Extensions.Options
Implementation of IConfigureNamedOptions.
Constructor.
The name of the options.
The action to register.
The options name.
The configuration action.
Invokes the registered configure Action if the name matches.
The name of the options instance being configured.
The options instance to configure.
Invoked to configure a TOptions instance with the .
The options instance to configure.
Implementation of IConfigureNamedOptions.
Constructor.
The name of the options.
A dependency.
The action to register.
The options name.
The configuration action.
The dependency.
Invokes the registered configure Action if the name matches.
The name of the options instance being configured.
The options instance to configure.
Invoked to configure a TOptions instance with the .
The options instance to configure.
Implementation of IConfigureNamedOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
Invokes the registered configure Action if the name matches.
The name of the options instance being configured.
The options instance to configure.
Invoked to configure a TOptions instance with the .
The options instance to configure.
Implementation of IConfigureNamedOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
A third dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
The third dependency.
Invokes the registered configure Action if the name matches.
The name of the options instance being configured.
The options instance to configure.
Invoked to configure a TOptions instance with the .
The options instance to configure.
Implementation of IConfigureNamedOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
A third dependency.
A fourth dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
The third dependency.
The fourth dependency.
Invokes the registered configure Action if the name matches.
The name of the options instance being configured.
The options instance to configure.
Invoked to configure a TOptions instance with the .
The options instance to configure.
Implementation of IConfigureNamedOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
A third dependency.
A fourth dependency.
A fifth dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
The third dependency.
The fourth dependency.
The fifth dependency.
Invokes the registered configure Action if the name matches.
The name of the options instance being configured.
The options instance to configure.
Invoked to configure a TOptions instance with the .
The options instance to configure.
Implementation of IConfigureOptions.
Constructor.
The action to register.
The configuration action.
Invokes the registered configure Action if the name matches.
Represents something that configures the TOptions type.
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configure.
Represents something that configures the TOptions type.
Note: These are run before all .
Invoked to configure a TOptions instance.
The options instance to configure.
Used to retrieve configured TOptions instances.
The type of options being requested.
The default configured TOptions instance
Used to fetch IChangeTokens used for tracking options changes.
Returns a IChangeToken which can be used to register a change notification callback.
The name of the option instance being changed.
Used to create TOptions instances.
The type of options being requested.
Returns a configured TOptions instance with the given name.
Used for notifications when TOptions instances change.
The options type.
Returns the current TOptions instance with the .
Returns a configured TOptions instance with the given name.
Registers a listener to be called whenever a named TOptions changes.
The action to be invoked when TOptions has changed.
An IDisposable which should be disposed to stop listening for changes.
Used by to cache TOptions instances.
The type of options being requested.
Gets a named options instance, or adds a new instance created with createOptions.
The name of the options instance.
The func used to create the new instance.
The options instance.
Tries to adds a new option to the cache, will return false if the name already exists.
The name of the options instance.
The options instance.
Whether anything was added.
Try to remove an options instance.
The name of the options instance.
Whether anything was removed.
Clears all options instances from the cache.
Used to access the value of TOptions for the lifetime of a request.
Returns a configured TOptions instance with the given name.
Represents something that configures the TOptions type.
Note: These are run after all .
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configured.
Interface used to validate options.
The options type to validate.
Validates a specific named options instance (or all when name is null).
The name of the options instance being validated.
The options instance.
The result.
Helper class.
The default name used for options instances: "".
Creates a wrapper around an instance of TOptions to return itself as an IOptions.
Used to configure TOptions instances.
The type of options being requested.
The default name of the TOptions instance.
The for the options being configured.
Constructor.
The for the options being configured.
The default name of the TOptions instance, if null Options.DefaultName is used.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to configure a particular type of options.
Note: These are run before all .
A dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The first dependency used by the action.
The second dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The first dependency used by the action.
The second dependency used by the action.
The third dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The first dependency used by the action.
The second dependency used by the action.
The third dependency used by the action.
The fourth dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The first dependency used by the action.
The second dependency used by the action.
The third dependency used by the action.
The fourth dependency used by the action.
The fifth dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to configure a particular type of options.
Note: These are run after all .
The action used to configure the options.
Registers an action used to post configure a particular type of options.
Note: These are run before after .
The dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to post configure a particular type of options.
Note: These are run before after .
The first dependency used by the action.
The second dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to post configure a particular type of options.
Note: These are run before after .
The first dependency used by the action.
The second dependency used by the action.
The third dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to post configure a particular type of options.
Note: These are run before after .
The first dependency used by the action.
The second dependency used by the action.
The third dependency used by the action.
The fourth dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Registers an action used to post configure a particular type of options.
Note: These are run before after .
The first dependency used by the action.
The second dependency used by the action.
The third dependency used by the action.
The fourth dependency used by the action.
The fifth dependency used by the action.
The action used to configure the options.
The current OptionsBuilder.
Register a validation action for an options type using a default failure message..
The validation function.
The current OptionsBuilder.
Register a validation action for an options type.
The validation function.
The failure message to use when validation fails.
The current OptionsBuilder.
Used to cache TOptions instances.
The type of options being requested.
Clears all options instances from the cache.
Gets a named options instance, or adds a new instance created with createOptions.
The name of the options instance.
The func used to create the new instance.
The options instance.
Tries to adds a new option to the cache, will return false if the name already exists.
The name of the options instance.
The options instance.
Whether anything was added.
Try to remove an options instance.
The name of the options instance.
Whether anything was removed.
Implementation of IOptionsFactory.
The type of options being requested.
Initializes a new instance with the specified options configurations.
The configuration actions to run.
The initialization actions to run.
Initializes a new instance with the specified options configurations.
The configuration actions to run.
The initialization actions to run.
The validations to run.
Returns a configured TOptions instance with the given name.
Implementation of IOptions and IOptionsSnapshot.
Initializes a new instance with the specified options configurations.
The factory to use to create options.
The default configured TOptions instance, equivalent to Get(Options.DefaultName).
Returns a configured TOptions instance with the given name.
Implementation of IOptionsMonitor.
Constructor.
The factory to use to create options.
The sources used to listen for changes to the options instance.
The cache used to store options.
The present value of the options.
Returns a configured TOptions instance with the given name.
Registers a listener to be called whenever TOptions changes.
The action to be invoked when TOptions has changed.
An IDisposable which should be disposed to stop listening for changes.
Extension methods for IOptionsMonitor.
Registers a listener to be called whenever TOptions changes.
The IOptionsMonitor.
The action to be invoked when TOptions has changed.
An IDisposable which should be disposed to stop listening for changes.
Thrown when options validation fails.
Constructor.
The name of the options instance that failed.
The options type that failed.
The validation failure messages.
The name of the options instance that failed.
The type of the options that failed.
The validation failures.
IOptions wrapper that returns the options instance.
Intializes the wrapper with the options instance to return.
The options instance to return.
The options instance.
This method is obsolete and will be removed in a future version.
This method is obsolete and will be removed in a future version.
This parameter is ignored.
The .
This method is obsolete and will be removed in a future version.
Implementation of .
Creates a new instance of .
The name of the options.
The action to register.
The options name.
The initialization action.
Invokes the registered initialization Action if the name matches.
Implementation of IPostConfigureOptions.
Constructor.
The name of the options.
A dependency.
The action to register.
The options name.
The configuration action.
The dependency.
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configured.
Invoked to configure a TOptions instance using the .
The options instance to configured.
Implementation of IPostConfigureOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configured.
Invoked to configure a TOptions instance using the .
The options instance to configured.
Implementation of IPostConfigureOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
A third dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
The third dependency.
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configured.
Invoked to configure a TOptions instance using the .
The options instance to configured.
Implementation of IPostConfigureOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
A third dependency.
A fourth dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
The third dependency.
The fourth dependency.
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configured.
Invoked to configure a TOptions instance using the .
The options instance to configured.
Implementation of IPostConfigureOptions.
Constructor.
The name of the options.
A dependency.
A second dependency.
A third dependency.
A fourth dependency.
A fifth dependency.
The action to register.
The options name.
The configuration action.
The first dependency.
The second dependency.
The third dependency.
The fourth dependency.
The fifth dependency.
Invoked to configure a TOptions instance.
The name of the options instance being configured.
The options instance to configured.
Invoked to configure a TOptions instance using the .
The options instance to configured.
Cannot create instance of type '{0}' because it is either abstract or an interface.
Cannot create instance of type '{0}' because it is either abstract or an interface.
Failed to convert '{0}' to type '{1}'.
Failed to convert '{0}' to type '{1}'.
Failed to create instance of type '{0}'.
Failed to create instance of type '{0}'.
Cannot create instance of type '{0}' because it is missing a public parameterless constructor.
Cannot create instance of type '{0}' because it is missing a public parameterless constructor.
No IConfigureOptions<> or IPostConfigureOptions<> implementations were found.
No IConfigureOptions<> or IPostConfigureOptions<> implementations were found.
No IConfigureOptions<> or IPostConfigureOptions<> implementations were found, did you mean to call Configure<> or PostConfigure<>?
No IConfigureOptions<> or IPostConfigureOptions<> implementations were found, did you mean to call Configure<> or PostConfigure<>?
Implementation of
The instance being validated.
Constructor.
The options name.
The validation action.
The error to return when validation fails.
Validates a specific named options instance (or all when name is null).
The name of the options instance being validated.
The options instance.
The result.
Represents the result of an options validation.
Result when validation was skipped due to name not matching.
Validation was successful.
True if validation was successful.
True if validation was not run.
True if validation failed.
Used to describe why validation failed.
Returns a failure result.
The reason for the failure.
The failure result.
Extension methods for adding options services to the DI container.
Adds services required for using options.
The to add the services to.
The so that additional calls can be chained.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The options type to be configured.
The to add the services to.
The action used to configure the options.
The so that additional calls can be chained.
Registers an action used to configure a particular type of options.
Note: These are run before all .
The options type to be configured.
The to add the services to.
The name of the options instance.
The action used to configure the options.
The so that additional calls can be chained.
Registers an action used to configure all instances of a particular type of options.
The options type to be configured.
The to add the services to.
The action used to configure the options.
The so that additional calls can be chained.
Registers an action used to initialize a particular type of options.
Note: These are run after all .
The options type to be configured.
The to add the services to.
The action used to configure the options.
The so that additional calls can be chained.
Registers an action used to configure a particular type of options.
Note: These are run after all .
The options type to be configure.
The to add the services to.
The name of the options instance.
The action used to configure the options.
The so that additional calls can be chained.
Registers an action used to post configure all instances of a particular type of options.
Note: These are run after all .
The options type to be configured.
The to add the services to.
The action used to configure the options.
The so that additional calls can be chained.
Registers a type that will have all of its I[Post]ConfigureOptions registered.
The type that will configure options.
The to add the services to.
The so that additional calls can be chained.
Registers a type that will have all of its I[Post]ConfigureOptions registered.
The to add the services to.
The type that will configure options.
The so that additional calls can be chained.
Registers an object that will have all of its I[Post]ConfigureOptions registered.
The to add the services to.
The instance that will configure options.
The so that additional calls can be chained.
Gets an options builder that forwards Configure calls for the same to the underlying service collection.
The options type to be configured.
The to add the services to.
The so that configure calls can be chained in it.
Gets an options builder that forwards Configure calls for the same named to the underlying service collection.
The options type to be configured.
The to add the services to.
The name of the options instance.
The so that configure calls can be chained in it.