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; }
public EtcdConfigurationSource(EtcdOptions options) { this.Options = options; }