Table of Contents

Class WorkflowTargetDefinition

Namespace
Invex.Atom.Workflows.Definition
Assembly
Invex.Atom.Workflows.dll

Defines a single target or step within a workflow, including its configuration and behavior.

public sealed record WorkflowTargetDefinition
Inheritance
object
WorkflowTargetDefinition

Constructors

WorkflowTargetDefinition(string)

Defines a single target or step within a workflow, including its configuration and behavior.

public WorkflowTargetDefinition(string Name)

Parameters

Name string

The name of the workflow target.

Properties

MatrixDimensions

Gets the matrix dimensions for this workflow target, allowing it to run in multiple configurations.

public IReadOnlyList<MatrixDimension> MatrixDimensions { get; init; }

Property Value

IReadOnlyList<MatrixDimension>

Name

The name of the workflow target.

public string Name { get; init; }

Property Value

string

Options

Gets the options that configure this workflow target's behavior.

public IReadOnlyList<IBuildOption> Options { get; init; }

Property Value

IReadOnlyList<IBuildOption>

Methods

WithMatrixDimensions(params IEnumerable<MatrixDimension>)

Returns a new WorkflowTargetDefinition with the specified matrix dimensions added.

public WorkflowTargetDefinition WithMatrixDimensions(params IEnumerable<MatrixDimension> dimensions)

Parameters

dimensions IEnumerable<MatrixDimension>

The matrix dimensions to add.

Returns

WorkflowTargetDefinition

A new WorkflowTargetDefinition instance.

WithOptions(params IEnumerable<IBuildOption>)

Returns a new WorkflowTargetDefinition with the specified options added.

public WorkflowTargetDefinition WithOptions(params IEnumerable<IBuildOption> options)

Parameters

options IEnumerable<IBuildOption>

The options to add.

Returns

WorkflowTargetDefinition

A new WorkflowTargetDefinition instance.