Table of Contents

Class NuGetDelete

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Deletes or unlists a package version from a source.

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

Inheritance

Implements

Properties

ApiKey

The redacted API key sent to the package source.

public Secret? ApiKey { get; init; }

Property Value

Secret?

CommandParts

Gets every canonically ordered rendered command fragment.

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

Property Value

IReadOnlyList<string?>

NoServiceEndpoint

Uses the source URL exactly instead of appending the NuGet service endpoint.

public bool NoServiceEndpoint { get; init; }

Property Value

bool

PackageId

The package ID.

public string? PackageId { get; init; }

Property Value

string?

PackageVersion

The package version.

public string? PackageVersion { get; init; }

Property Value

string?

Source

The package source name, path, or URL.

public string? Source { get; init; }

Property Value

string?