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)
87
private
PanelSettings
? _settings;
224
public PanelResponse ShowSettings(
PanelSettings
settings)
240
public PanelResponse UpdateSettings(
PanelSettings
settings)
816
void AddSettingsItems(
PanelSettings
settings)
1427
private void AddSettingsToggle(List<PanelCommand> commands, List<PanelHitTarget> targets, PanelTargetKind kind,
PanelSettings
settings,
1454
private void AddAbout(List<PanelCommand> commands,
PanelSettings
settings, double top, TrayPanelPalette palette)
TrayApplication.Panel.cs (2)
370
ApplyPanelResponse(_panel!.ShowSettings(
PanelSettings
.Read(startupSettings, _interactiveSmoke, LogStartupFailure)));
374
PanelSettings
.SetLaunchAtSignIn(startupSettings, action.Enabled, _interactiveSmoke, LogStartupFailure)));