Table of Contents

Interface IStepRegistry

Namespace
Ando.Steps
Assembly
ando.dll

Interface for step registration. Operations use this to register build steps without depending on concrete implementation.

public interface IStepRegistry

Properties

Steps

All registered steps in order of registration.

IReadOnlyList<BuildStep> Steps { get; }

Property Value

IReadOnlyList<BuildStep>

Methods

Clear()

Clears all registered steps. Used in tests to reset state between test runs.

void Clear()

Register(BuildStep)

Registers a pre-constructed BuildStep.

void Register(BuildStep step)

Parameters

step BuildStep

Register(string, Func<Task<bool>>, string?)

Convenience method to register a step inline. Creates a BuildStep from the provided parameters.

void Register(string name, Func<Task<bool>> execute, string? context = null)

Parameters

name string
execute Func<Task<bool>>
context string