예제 #1
0
        public static IConfigurationBuilder AddEtcdConfig(this IConfigurationBuilder builder, Action <EtcdOptions> configure)
        {
            var options = new EtcdOptions();

            configure(options);

            builder.Sources.Add(new EtcdConfigurationSource(options));

            return(builder);
        }
 public EtcdConfigurationProvider(EtcdOptions options)
 {
     this.Options = options;
 }
예제 #3
0
 public EtcdConfigurationSource(EtcdOptions options)
 {
     this.Options = options;
 }