4 references to TruncateText
Aspire.Dashboard (3)
Components\Controls\ResourceRelationshipGraph.razor.cs (1)
125return FormatHelpers.TruncateText(name, _maximumLabelLength);
Model\DashboardCommandExecutor.cs (1)
258var toastMessage = response.Message is null ? null : FormatHelpers.TruncateText(response.Message, MaxToastMessageLength);
Telemetry\DashboardTelemetryService.cs (1)
183string text => FormatHelpers.TruncateText(text, MaxPropertyStringLength),
Aspire.Dashboard.Tests (1)
FormatHelpersTests.cs (1)
149Assert.Equal(expected, FormatHelpers.TruncateText(initialText, maxLength: maxLength));