mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-21 08:04:26 +08:00
20 lines
643 B
C#
20 lines
643 B
C#
using LanMountainDesktop.PluginSdk;
|
|
using LanMountainDesktop.Services;
|
|
using LanMountainDesktop.Services.Settings;
|
|
|
|
namespace LanMountainDesktop.ComponentSystem;
|
|
|
|
public sealed record DesktopComponentSettingsContext(
|
|
string ComponentId,
|
|
string? PlacementId,
|
|
ISettingsFacadeService SettingsFacade,
|
|
ISettingsService SettingsService,
|
|
IAppearanceThemeService AppearanceTheme,
|
|
IComponentSettingsAccessor ComponentSettingsAccessor,
|
|
IComponentInstanceSettingsStore ComponentSettingsStore);
|
|
|
|
public interface IComponentSettingsContextAware
|
|
{
|
|
void SetComponentSettingsContext(DesktopComponentSettingsContext context);
|
|
}
|