public static ISettingsBuilderFactory AddAppSettings(this ISettingsBuilderFactory target, NameFormatter action) { if (action == null) { throw new ArgumentNullException(nameof(action)); } target.AddSectionBinder(new AppSettingsBinder() { VariableNameFormatter = action }); return(target); }
public static ISettingsBuilderFactory AddAppSettings(this ISettingsBuilderFactory target) { target.AddSectionBinder(new AppSettingsBinder()); return(target); }
public void AddSectionBinder(ISectionBinder sectionBinder) { _settingsBuilderFactory.AddSectionBinder(sectionBinder); }