ConfigurationExtensions 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.
Static class containing extension methods for IConfiguration to get ClientSettings.
public static class ConfigurationExtensions
type ConfigurationExtensions = class
Public Module ConfigurationExtensions
- Inheritance
-
ConfigurationExtensions
Methods
| Name | Description |
|---|---|
| AddClient<TClient,TSettings>(IHostApplicationBuilder, String, Action<TSettings>) |
Adds a singleton client of the specified type to the IHostApplicationBuilder's service collection. |
| AddClient<TClient,TSettings>(IHostApplicationBuilder, String) |
Adds a singleton client of the specified type to the IHostApplicationBuilder's service collection. |
| AddKeyedClient<TClient,TSettings>(IHostApplicationBuilder, String, String, Action<TSettings>) |
Adds a keyed singleton client of the specified type to the IHostApplicationBuilder's service collection. |
| AddKeyedClient<TClient,TSettings>(IHostApplicationBuilder, String, String) |
Adds a keyed singleton client of the specified type to the IHostApplicationBuilder's service collection. |
| GetClientSettings<T>(IConfiguration, String) |
Creates an instance of |