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
CommandParts
Gets every canonically ordered rendered command fragment.
protected override IReadOnlyList<string?> CommandParts { get; }Property Value
NoServiceEndpoint
Uses the source URL exactly instead of appending the NuGet service endpoint.
public bool NoServiceEndpoint { get; init; }Property Value
PackageId
The package ID.
public string? PackageId { get; init; }Property Value
PackageVersion
The package version.
public string? PackageVersion { get; init; }Property Value
Source
The package source name, path, or URL.
public string? Source { get; init; }