using Volo.Abp.DependencyInjection; using Volo.Abp.Settings; namespace NPin.Framework.SettingManagement.Domain.Store; /// /// 设置存储 /// public class SettingStore : ISettingStore, ITransientDependency { protected ISettingManagementStore ManagementStore { get; } public SettingStore(ISettingManagementStore managementStore) { ManagementStore = managementStore; } public virtual Task GetOrNullAsync(string name, string? providerName, string? providerKey) { return ManagementStore.GetOrNullAsync(name, providerName, providerKey); } public virtual Task> GetAllAsync(string[] names, string? providerName, string? providerKey) { return ManagementStore.GetListAsync(names, providerName, providerKey); } }