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)
93private PanelSettings? _settings; 229public PanelResponse ShowSettings(PanelSettings settings) 245public PanelResponse UpdateSettings(PanelSettings settings) 899void AddSettingsItems(PanelSettings settings) 1540private void AddSettingsToggle(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelTargetKind kind, PanelSettings settings, 1567private void AddAbout(List<PanelCommand> commands, PanelSettings settings, double top, TrayPanelPalette palette)
TrayApplication.Panel.cs (2)
386ApplyPanelResponse(_panel!.ShowSettings(PanelSettings.Read(startupSettings, _interactiveSmoke, LogStartupFailure))); 390PanelSettings.SetLaunchAtSignIn(startupSettings, action.Enabled, _interactiveSmoke, LogStartupFailure)));