Table of Contents

Class DotnetNewSearchOptions

Namespace
Invex.Atom.Module.Dotnet.Cli
Assembly
Invex.Atom.Module.Dotnet.dll
public sealed record DotnetNewSearchOptions
Inheritance
object
DotnetNewSearchOptions

Constructors

DotnetNewSearchOptions()

public DotnetNewSearchOptions()

Properties

Author

Filters the templates based on the template author.

public string? Author { get; init; }

Property Value

string

Columns

Specifies the columns to display in the output.

public string[]? Columns { get; init; }

Property Value

string[]

ColumnsAll

Displays all columns in the output.

public bool? ColumnsAll { get; init; }

Property Value

bool?

Language

Filters templates based on language.

public string? Language { get; init; }

Property Value

string

Package

Filters the templates based on NuGet package ID.

public string? Package { get; init; }

Property Value

string

Tag

Filters the templates based on the tag.

public string? Tag { get; init; }

Property Value

string

Type

Filters templates based on available types. Predefined values are "project" and "item".

public string? Type { get; init; }

Property Value

string

Methods

ToArguments()

Converts these options to individual command-line arguments, in schema order.

public IReadOnlyList<string> ToArguments()

Returns

IReadOnlyList<string>

The arguments. Each option name and each value is a separate element, so values need no quoting.