Table of Contents

Class TargetDefinitionExtensions

Namespace
Invex.Atom.Build.Definition
Assembly
Invex.Atom.Build.dll

Provides extension methods for TargetDefinition to simplify adding multiple dependencies.

public static class TargetDefinitionExtensions
Inheritance
object
TargetDefinitionExtensions

Methods

DependsOn(TargetDefinition, Target, Target, Target, Target, Target, string?, string?, string?, string?, string?)

Adds dependencies on multiple targets.

public static TargetDefinition DependsOn(this TargetDefinition targetDefinition, Target target1, Target target2, Target target3, Target target4, Target target5, string? target1Name = null, string? target2Name = null, string? target3Name = null, string? target4Name = null, string? target5Name = null)

Parameters

targetDefinition TargetDefinition
target1 Target
target2 Target
target3 Target
target4 Target
target5 Target
target1Name string
target2Name string
target3Name string
target4Name string
target5Name string

Returns

TargetDefinition

DependsOn(TargetDefinition, Target, Target, Target, Target, string?, string?, string?, string?)

Adds dependencies on multiple targets.

public static TargetDefinition DependsOn(this TargetDefinition targetDefinition, Target target1, Target target2, Target target3, Target target4, string? target1Name = null, string? target2Name = null, string? target3Name = null, string? target4Name = null)

Parameters

targetDefinition TargetDefinition
target1 Target
target2 Target
target3 Target
target4 Target
target1Name string
target2Name string
target3Name string
target4Name string

Returns

TargetDefinition

DependsOn(TargetDefinition, Target, Target, Target, string?, string?, string?)

Adds dependencies on multiple targets.

public static TargetDefinition DependsOn(this TargetDefinition targetDefinition, Target target1, Target target2, Target target3, string? target1Name = null, string? target2Name = null, string? target3Name = null)

Parameters

targetDefinition TargetDefinition
target1 Target
target2 Target
target3 Target
target1Name string
target2Name string
target3Name string

Returns

TargetDefinition

DependsOn(TargetDefinition, Target, Target, string?, string?)

Adds dependencies on multiple targets.

public static TargetDefinition DependsOn(this TargetDefinition targetDefinition, Target target1, Target target2, string? target1Name = null, string? target2Name = null)

Parameters

targetDefinition TargetDefinition
target1 Target
target2 Target
target1Name string
target2Name string

Returns

TargetDefinition