| File: Commands\PackageSearch\TableFormat\NormalTableFormatStrategy.cs | Web Access |
| Project: src\nuget-client\src\NuGet.Core\NuGet.CommandLine.XPlat\NuGet.CommandLine.XPlat.csproj (NuGet.CommandLine.XPlat) |
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. #nullable enable namespace NuGet.CommandLine.XPlat { internal class NormalTableFormatStrategy : ITableFormatStrategy { private readonly string[] _normalVerbosityTableHeader = { "Package ID", "Latest Version", "Owners", "Total Downloads" }; private readonly int[] _normalColumnsToHighlight = { 0, 2 }; public Table CreateTable(int consoleWidth) { return new Table(_normalColumnsToHighlight, _normalVerbosityTableHeader, consoleWidth); } } }