public static IVostokConfigurationSourcesBuilder AddClusterConfig([NotNull] this IVostokConfigurationSourcesBuilder builder, [NotNull] string prefix) => builder.AddSource(ccClient => new ClusterConfigSourceWithParsers(ccClient, prefix));
public static IVostokConfigurationSourcesBuilder AddXmlFile([NotNull] this IVostokConfigurationSourcesBuilder builder, [NotNull] string path) => builder.AddSource(new XmlFileSource(path));
public static IVostokConfigurationSourcesBuilder AddInMemoryObject([NotNull] this IVostokConfigurationSourcesBuilder builder, [NotNull] object @object) => builder.AddSource(new ObjectSource(@object));
public static IVostokConfigurationSourcesBuilder AddCommandLineArguments([NotNull] this IVostokConfigurationSourcesBuilder builder, [NotNull] string[] args, [CanBeNull] string defaultKey, [CanBeNull] string defaultValue) => builder.AddSource(new CommandLineSource(args, defaultKey, defaultValue));
public static IVostokConfigurationSourcesBuilder AddCommandLineArguments([NotNull] this IVostokConfigurationSourcesBuilder builder, [NotNull] string[] args) => builder.AddSource(new CommandLineSource(args));
public static IVostokConfigurationSourcesBuilder AddEnvironmentVariables([NotNull] this IVostokConfigurationSourcesBuilder builder) => builder.AddSource(new EnvironmentVariablesSource());