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