using JetBrains.Annotations; using Volo.Abp.Settings; namespace NPin.Framework.SettingManagement.Domain; public interface ISettingManagementProvider { string Name { get; } /// /// 获取配置项 /// /// /// /// Task GetOrNullAsync([NotNull] SettingDefinition setting, [CanBeNull] string providerKey); /// /// 设置配置数据 /// /// /// /// /// Task SetAsync([NotNull] SettingDefinition setting, [NotNull] string value, [CanBeNull] string providerKey); /// /// 清除配置项 /// /// /// /// Task ClearAsync([NotNull] SettingDefinition setting, [CanBeNull] string providerKey); }