Class ConsumedArtifact
Represents an artifact that is consumed by a target.
public sealed record ConsumedArtifact
- Inheritance
-
objectConsumedArtifact
Constructors
ConsumedArtifact(string, string, string?)
Represents an artifact that is consumed by a target.
public ConsumedArtifact(string TargetName, string ArtifactName, string? BuildSlice = null)
Parameters
TargetNamestringThe name of the target that produced the artifact.
ArtifactNamestringThe name of the artifact being consumed.
BuildSlicestringAn optional identifier for a specific build variation (e.g., in a matrix build).
Properties
ArtifactName
The name of the artifact being consumed.
public string ArtifactName { get; init; }
Property Value
- string
BuildSlice
An optional identifier for a specific build variation (e.g., in a matrix build).
public string? BuildSlice { get; init; }
Property Value
- string
TargetName
The name of the target that produced the artifact.
public string TargetName { get; init; }
Property Value
- string