2 instantiations of PanelSettings
aspire-tray (2)
src\Aspire.Tray\Common\PanelSettings.cs (2)
22return new(settings.Read(), error, preview); 27return new(null, TraySettingsText.GetReadError(ex, error), preview);
10 references to PanelSettings
aspire-tray (10)
src\Aspire.Tray\Common\PanelSettings.cs (2)
17public static PanelSettings Read(ITrayStartupSettings settings, bool preview, Action<Exception>? logFailure = null, 35public static PanelSettings SetLaunchAtSignIn(ITrayStartupSettings settings, bool enabled, bool preview,
src\Aspire.Tray\Common\TrayPanel.cs (6)
87private PanelSettings? _settings; 224public PanelResponse ShowSettings(PanelSettings settings) 240public PanelResponse UpdateSettings(PanelSettings settings) 816void AddSettingsItems(PanelSettings settings) 1427private void AddSettingsToggle(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelTargetKind kind, PanelSettings settings, 1454private void AddAbout(List<PanelCommand> commands, PanelSettings settings, double top, TrayPanelPalette palette)
TrayApplication.Panel.cs (2)
370ApplyPanelResponse(_panel!.ShowSettings(PanelSettings.Read(startupSettings, _interactiveSmoke, LogStartupFailure))); 374PanelSettings.SetLaunchAtSignIn(startupSettings, action.Enabled, _interactiveSmoke, LogStartupFailure)));