IConfiguration
Interface
interface IConfiguration { exists(key: string): boolean; getChildren(): IConfigurationSection[]; getConfigValue(key: string): string; getConnectionString(name: string): string; getSection(key: string): IConfigurationSection;} 5 members
Methods
method
exists Checks whether a configuration section exists
exists(key: string): booleanParameters
key string Returns
boolean method
getChildren Gets child configuration sections
getChildren(): IConfigurationSection[]Returns
IConfigurationSection[] method
getConfigValue Gets a configuration value by key
getConfigValue(key: string): stringParameters
key string Returns
string method
getConnectionString Gets a connection string by name
getConnectionString(name: string): stringParameters
name string Returns
string method
getSection Gets a configuration section by key
getSection(key: string): IConfigurationSectionParameters
key string Returns
IConfigurationSection