Language

ResourceStore.GetPreSteps Method

Definition

Gets the steps, if any, which should be inserted into the job based on the resources configured.

public System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep> GetPreSteps(Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext context, System.Collections.Generic.IReadOnlyList<Microsoft.TeamFoundation.DistributedTask.Pipelines.JobStep> steps);
abstract member GetPreSteps : Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext * System.Collections.Generic.IReadOnlyList<Microsoft.TeamFoundation.DistributedTask.Pipelines.JobStep> -> System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep>
override this.GetPreSteps : Microsoft.TeamFoundation.DistributedTask.Pipelines.IPipelineContext * System.Collections.Generic.IReadOnlyList<Microsoft.TeamFoundation.DistributedTask.Pipelines.JobStep> -> System.Collections.Generic.IList<Microsoft.TeamFoundation.DistributedTask.Pipelines.TaskStep>
Public Function GetPreSteps (context As IPipelineContext, steps As IReadOnlyList(Of JobStep)) As IList(Of TaskStep)

Parameters

context
IPipelineContext

The execution context

steps
IReadOnlyList<JobStep>

The current set of steps for the job

Returns

A list of steps which should be prepended to the job

Implements

Applies to