4 references to ToSingleLine
aspire-tray (4)
src\Aspire.Tray\Common\AppHostPresentation.cs (4)
26
return string.IsNullOrEmpty(name) ? "AppHost" :
ToSingleLine
(name);
34
=>
ToSingleLine
($"{Path.GetFileNameWithoutExtension(host.AppHostPath)} - {GetLocation(host)} (PID {host.AppHostPid})");
45
return
ToSingleLine
(parent is null ? directory : Path.Combine(Path.GetFileName(parent), Path.GetFileName(directory)));
50
value =
ToSingleLine
(value);