public static IConfigurationBuilder AddHoconContent(this IConfigurationBuilder builder, string path, string configKey, bool optional, bool reloadOnChange) { var source = new HoconContentSource(configKey); source.Path = path; source.Optional = optional; source.ReloadOnChange = reloadOnChange; builder.Add(source); return(builder); }
public HoconContentProvider(HoconContentSource hoconContentSource, string configKey) : base(hoconContentSource) { this.configKey = configKey; }