Class ConfigurationExtensions
Inheritance
System.Object
ConfigurationExtensions
Namespace: Downlink.Infrastructure
Assembly: Downlink.dll
Syntax
public static class ConfigurationExtensions : object
Methods
| Improve this Doc View SourceGet<T>(IConfiguration, String)
Declaration
public static T Get<T>(this IConfiguration config, string key)where T : new ()
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Configuration.IConfiguration | config | |
System.String | key |
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |