31 references to PadRight
aspire (2)
Commands\GroupedHelpWriter.cs (1)
209var paddedLabel = label.PadRight(columnWidth);
Interaction\BannerService.cs (1)
200var partialLine = line[..Math.Min(visibleCols, line.Length)].PadRight(line.Length);
Microsoft.Build (1)
Evaluation\Expander\WellKnownFunctions.cs (1)
317returnVal = text.PadRight(totalWidth);
Microsoft.Data.Analysis (2)
DataFrame.cs (2)
987sb.Append(string.Format(Columns[i].Name.PadRight(padding))); 995sb.Append((obj ?? "null").ToString().PadRight(padding));
Microsoft.ML.Data (3)
Evaluators\EvaluatorUtils.cs (3)
1547sb.Append(string.Format("{0}{1}: ", weighted ? "Weighted " : "", metricNames[i]).PadRight(20)); 1578sb.Append($"{metrics[i].Name}: ".PadRight(20)); 1580weightedSb?.Append($"Weighted {weightedMetrics[i].Name}: ".PadRight(20));
Microsoft.ML.FastTree (4)
Utils\Timer.cs (4)
157string padded = "Name".PadRight(MaxEventNameLen); 168padded = n.ToString().PadRight(MaxEventNameLen); 173padded = "Name".PadRight(MaxEventNameLen); 179padded = n.ToString().PadRight(MaxEventNameLen);
Microsoft.TemplateEngine.Cli (3)
CliTemplateParameter.cs (1)
477displayValue.Append(Indent + choiceInfo.Key.PadRight(longestChoiceLength + Indent.Length));
Commands\create\InvalidTemplateOptionResult.cs (1)
160text.Indent(1).Append(choiceInfo.Key.PadRight(longestChoiceLength));
TemplateInvoker.cs (1)
286Reporter.Error.WriteLine(($" {GetChangeString(change.ChangeKind)}".PadRight(padLen) + AdjustReportedPath(change.TargetRelativePath)).Bold().Red());
Microsoft.VisualBasic.Core (1)
Microsoft\VisualBasic\Strings.vb (1)
928Return Source.PadRight(Length)
NuGet.CommandLine.XPlat (2)
Commands\PackageSearch\Table.cs (1)
158logger.LogInline("".PadRight(_columns[column].Width - i), color);
Utility\TableParser.cs (1)
132dataCell.Value = " " + dataCell.Value?.PadRight(maxColumnsWidth[colIndex]) ?? string.Empty;
NuGet.Commands (5)
ClientCertificatesCommand\ListClientCertRunner.cs (2)
38var defaultIndentation = string.Empty.PadRight(PaddingWidth); 45var indexIndentation = $" {i + 1}.".PadRight(PaddingWidth);
TrustedSignersCommand\TrustedSignersCommandRunner.cs (3)
222var index = $" {i + 1}.".PadRight(6); 223var defaultIndentation = string.Empty.PadRight(6); 241var extraIndentation = string.Empty.PadRight(2);
vstest.console (4)
Internal\ConsoleLogger.cs (4)
752TestOutcome.Failed => (CommandLineResources.FailedTestIndicator + "!").PadRight(LongestResultIndicator), 753TestOutcome.Passed => (CommandLineResources.PassedTestIndicator + "!").PadRight(LongestResultIndicator), 754TestOutcome.Skipped => (CommandLineResources.SkippedTestIndicator + "!").PadRight(LongestResultIndicator), 755_ => CommandLineResources.None.PadRight(LongestResultIndicator),
vstest.console.arm64 (4)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (4)
752TestOutcome.Failed => (CommandLineResources.FailedTestIndicator + "!").PadRight(LongestResultIndicator), 753TestOutcome.Passed => (CommandLineResources.PassedTestIndicator + "!").PadRight(LongestResultIndicator), 754TestOutcome.Skipped => (CommandLineResources.SkippedTestIndicator + "!").PadRight(LongestResultIndicator), 755_ => CommandLineResources.None.PadRight(LongestResultIndicator),