Files
LanMountainDesktop/airapp/LanMountainDesktop.AirAppSdk/IAirAppSettingsService.cs
2026-08-11 23:03:55 +08:00

22 lines
639 B
C#

using System.Collections.Generic;
namespace LanMountainDesktop.AirAppSdk;
public interface IAirAppSettingsService
{
string AirAppId { get; }
IComponentSettingsAccessor GetComponentAccessor(string componentId, string? placementId);
T LoadComponentSection<T>(string componentId, string? placementId, string sectionId) where T : new();
void SaveComponentSection<T>(
string componentId,
string? placementId,
string sectionId,
T section,
IReadOnlyCollection<string>? changedKeys = null);
void DeleteComponentSection(string componentId, string? placementId, string sectionId);
}