mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
17 lines
518 B
C#
17 lines
518 B
C#
|
|
using System.Threading.Tasks;
|
|||
|
|
using JetBrains.Annotations;
|
|||
|
|
using Volo.Abp.Settings;
|
|||
|
|
|
|||
|
|
namespace Yi.Framework.SettingManagement.Domain;
|
|||
|
|
|
|||
|
|
public interface ISettingManagementProvider
|
|||
|
|
{
|
|||
|
|
string Name { get; }
|
|||
|
|
|
|||
|
|
Task<string> 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);
|
|||
|
|
}
|