예제 #1
0
 private static IConfigurationBuilder Add(IConfigurationBuilder configurationBuilder, ConsulAgentConfiguration configuration)
 {
     return(configurationBuilder.Add(new ConsulConfigurationSource(configuration)));
 }
예제 #2
0
 public ConsulConfigurationSource(ConsulAgentConfiguration config)
 {
     Config = config;
 }
 public static void Attach(IObserver observer, ConsulAgentConfiguration configuration)
 {
     Observer      = observer;
     Configuration = configuration;
 }
 public ConsulConfigurationProvider(ConsulAgentConfiguration configuration)
 {
     Configuration = configuration;
 }