2 instantiations of NewListCommandDefinition
Microsoft.DotNet.Cli.Definitions (2)
Commands\New\NewCommandDefinition.cs (2)
144ListCommand = new(this, isLegacy: false); 149LegacyListCommand = new(this, isLegacy: true);
14 references to NewListCommandDefinition
Microsoft.DotNet.Cli.Definitions (2)
Commands\New\NewCommandDefinition.cs (2)
105public readonly NewListCommandDefinition ListCommand; 113public readonly NewListCommandDefinition LegacyListCommand;
Microsoft.TemplateEngine.Cli (12)
Commands\BaseCommand.cs (4)
42{ NewListCommandDefinition.Name, (hostBuilder, definition) => new ListCommand(hostBuilder, (NewListCommandDefinition)definition) }, 43{ NewListCommandDefinition.LegacyName, (hostBuilder, definition) => new LegacyListCommand(hostBuilder, (NewListCommandDefinition)definition) },
Commands\list\BaseListCommand.cs (3)
11internal abstract class BaseListCommand : BaseCommand<ListCommandArgs, NewListCommandDefinition>, IFilterableCommand, ITabularOutputCommand 13private readonly NewListCommandDefinition _definition; 17NewListCommandDefinition definition)
Commands\list\LegacyListCommand.cs (1)
11internal class LegacyListCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder, NewListCommandDefinition definition)
Commands\list\ListCommand.cs (1)
11internal sealed class ListCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder, NewListCommandDefinition definition)
Commands\list\ListCommandArgs.cs (1)
9internal sealed class ListCommandArgs : BaseFilterableArgs<NewListCommandDefinition>, ITabularOutputArgs
TemplateListCoordinator.cs (1)
113NewListCommandDefinition.IgnoreConstraintsOptionName)
TemplateResolution\TemplateMatchInfoExtensions.cs (1)
47var supportedFilters = FilterOptions.GetAllNames(NewListCommandDefinition.HasSupportedPackageFilterOption)