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