Table of Contents

Class NuGetSearch

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Searches NuGet package sources.

public sealed record NuGetSearch : NuGetCommand, IEquatable<ExecOptions>, IEquatable<ToolCommand>, IEquatable<ToolCommand<ExecResult>>, IEquatable<ExecToolCommand>, IEquatable<NuGetCommand>, IEquatable<NuGetSearch>

Inheritance

Implements

Properties

CommandParts

Gets every canonically ordered rendered command fragment.

protected override IReadOnlyList<string?> CommandParts { get; }

Property Value

IReadOnlyList<string?>

Prerelease

Includes prerelease packages.

public bool Prerelease { get; init; }

Property Value

bool

SearchTerm

The optional package search text.

public string? SearchTerm { get; init; }

Property Value

string?

Sources

Package sources used instead of configured sources.

public IReadOnlyList<string> Sources { get; init; }

Property Value

IReadOnlyList<string>

Take

The maximum number of search results returned.

public int? Take { get; init; }

Property Value

int?