Class UnlistResult
- Namespace
- Invex.RepoUtils.Atom.Module.Model
- Assembly
- Invex.RepoUtils.Atom.Module.dll
Captures the result of attempting to unlist a specific package version that was superseded by a newly published version.
public sealed record UnlistResult
- Inheritance
-
objectUnlistResult
Constructors
UnlistResult(string, SemVer, UnlistOutcome, string?)
Captures the result of attempting to unlist a specific package version that was superseded by a newly published version.
public UnlistResult(string PackageId, SemVer Version, UnlistOutcome Outcome, string? Message = null)
Parameters
PackageIdstringThe id of the package whose version was processed.
VersionSemVerThe semantic version that was processed.
OutcomeUnlistOutcomeThe outcome of the unlist attempt.
MessagestringAn optional human-readable detail explaining the outcome.
Properties
Message
An optional human-readable detail explaining the outcome.
public string? Message { get; init; }
Property Value
- string
Outcome
The outcome of the unlist attempt.
public UnlistOutcome Outcome { get; init; }
Property Value
PackageId
The id of the package whose version was processed.
public string PackageId { get; init; }
Property Value
- string
Version
The semantic version that was processed.
public SemVer Version { get; init; }
Property Value
- SemVer