Interface IStepRegistry
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
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
stepBuildStep
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)