You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Volo.Abp.Settings;
|
|
|
|
|
|
|
|
|
|
namespace NPin.Framework.SettingManagement.Domain.Store;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设置存储器
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ISettingManagementStore
|
|
|
|
|
{
|
|
|
|
|
Task<string?> GetOrNullAsync(string name, string providerName, string providerKey);
|
|
|
|
|
|
|
|
|
|
Task<List<SettingValue>> GetListAsync(string providerName, string providerKey);
|
|
|
|
|
|
|
|
|
|
Task<List<SettingValue>> GetListAsync(string[] names, string providerName, string providerKey);
|
|
|
|
|
|
|
|
|
|
Task<List<SettingValue>> GetListByPrefixAsync(string prefix, string providerName, string providerKey);
|
|
|
|
|
|
|
|
|
|
Task SetAsync(string name, string value, string providerName, string providerKey);
|
|
|
|
|
|
|
|
|
|
Task DeleteAsync(string name, string providerName, string providerKey);
|
|
|
|
|
}
|