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