using JetBrains.Annotations; using Volo.Abp.Settings; namespace NPin.Framework.SettingManagement.Domain.Provider.Extensions; public static class ConfigurationValueSettingManagerExtensions { public static Task GetOrNullConfigurationAsync(this ISettingManager settingManager, [NotNull] string name, bool fallback = true) { return settingManager.GetOrNullAsync(name, ConfigurationSettingValueProvider.ProviderName, null, fallback); } public static Task> GetAllConfigurationAsync(this ISettingManager settingManager, bool fallback = true) { return settingManager.GetAllAsync(ConfigurationSettingValueProvider.ProviderName, null, fallback); } }