Class SpringBootEnvProvider
- Namespace
- Steeltoe.Extensions.Configuration.SpringBoot
- Assembly
- Steeltoe.Extensions.Configuration.SpringBootBase.dll
Configuration provider that expands the contents of SPRING_APPLICATION_JSON's Spring-style '.' delimited configuration key/value pairs to .NET compatible form
public class SpringBootEnvProvider : JsonStreamConfigurationProvider, IConfigurationProvider
- Inheritance
-
SpringBootEnvProvider
- Implements
- Inherited Members
Constructors
SpringBootEnvProvider(string)
Initializes a new instance of the SpringBootEnvProvider class.
public SpringBootEnvProvider(string springApplicationJson = null)
Parameters
springApplicationJson
stringThe Json string to parse
Methods
Load()
Maps SPRING_APPLICATION_JSON into key:value pairs
public override void Load()