6 references to CopyPath
Aspire.Tray.Tests (6)
src\Aspire.Tray\Common\TrayPanel.cs (3)
453
=> kind is PanelTargetKind.OpenInMenu or PanelTargetKind.OpenIn or PanelTargetKind.ShowInFolder or PanelTargetKind.
CopyPath
676
case PanelTargetKind.
CopyPath
:
1124
actions.Add((PanelTargetKind.
CopyPath
, 0, PanelIcon.Copy, "Copy path", $"Copy the folder path of {name}"));
TrayPanelTests.cs (3)
233
Assert.Equal(PanelActionKind.CopyPath, Pick(PanelTargetKind.
CopyPath
)?.Kind);
357
Assert.DoesNotContain(panel.Scene.Targets, target => target.Kind == PanelTargetKind.
CopyPath
);
371
Assert.All(panel.Scene.Targets.Where(target => target.Kind is PanelTargetKind.
CopyPath
or PanelTargetKind.TogglePin),