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