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