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