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