using JetBrains.Annotations;
using Volo.Abp.Settings;
namespace NPin.Framework.SettingManagement.Domain;
///
/// 设置管理器
///
public interface ISettingManager
{
Task GetOrNullAsync([NotNull] string name, [NotNull] string providerName, string? providerKey, bool fallback = true);
Task> GetAllAsync([NotNull] string providerName, string? providerKey, bool fallback = true);
Task SetAsync([NotNull] string name, string? value, [NotNull] string providerName, string? providerKey, bool forceToSet = false);
}