2 references to TruncateText
Aspire.Dashboard (1)
Model\DashboardCommandExecutor.cs (1)
213
var toastMessage = response.Message is null ? null : FormatHelpers.
TruncateText
(response.Message, MaxToastMessageLength);
Aspire.Dashboard.Tests (1)
FormatHelpersTests.cs (1)
149
Assert.Equal(expected, FormatHelpers.
TruncateText
(initialText, maxLength: maxLength));