4 writes to Text
Aspire.Dashboard (1)
Model\ResourceUrlHelpers.cs (1)
42
Text
= string.IsNullOrEmpty(url.DisplayProperties.DisplayName) ? url.Url.OriginalString : url.DisplayProperties.DisplayName
Aspire.Dashboard.Components.Tests (1)
Controls\UrlsColumnDisplayTests.cs (1)
74
Text
= $"Endpoint {i}",
Aspire.Dashboard.Tests (2)
Components\UrlsColumnDisplayTests.cs (2)
19
Text
= "Api endpoint",
34
Text
= "Grpc endpoint",
18 references to Text
Aspire.Dashboard (4)
Components\Controls\ResourceDetails.razor.cs (1)
138
private readonly GridSort<DisplayedUrl> _urlValueSort = GridSort<DisplayedUrl>.ByAscending(vm => vm.Url ?? vm.
Text
);
Model\ResourceMenuBuilder.cs (1)
193
Text = url.
Text
,
Model\ResourceUrlHelpers.cs (2)
85
public string? ValueToVisualize => Url ??
Text
;
89
Text
.Contains(filter, StringComparison.CurrentCultureIgnoreCase) ||
Aspire.Dashboard.Tests (14)
Model\ResourceUrlHelpersTests.cs (14)
33
Assert.Equal("http://localhost:8080", e.
Text
);
52
Assert.Equal("http://localhost:8080", e.
Text
);
60
Assert.Equal("http://localhost:8081", e.
Text
);
79
Assert.Equal("http://localhost:8080", e.
Text
);
87
Assert.Equal("tcp://localhost:8081", e.
Text
);
107
Assert.Equal("myapp://resource/123", e.
Text
);
115
Assert.Equal("mailto:test@example.com", e.
Text
);
123
Assert.Equal("ftp://files.example.com/path", e.
Text
);
142
Assert.Equal("https://localhost:8080/test", e.
Text
);
150
Assert.Equal("https://localhost:8081/test2", e.
Text
);
169
Assert.Equal("https://localhost:8081/test2", e.
Text
);
188
Assert.Equal("https://localhost:8081/test2", e.
Text
);
208
Assert.Equal("https://localhost:8080/test", e.
Text
);
216
Assert.Equal("https://localhost:8081/test2", e.
Text
);