Table of Contents

Interface IBuildOptionProvider

Namespace
Invex.Atom.Build.BuildOptions
Assembly
Invex.Atom.Build.dll

Defines a contract for contributing build options to the resolved option set.

public interface IBuildOptionProvider

Remarks

Implementations receive the base options from Options and may return additional options to be merged in. Uses two-phase resolution: providers only receive the base options, not other providers' contributions, preventing inter-provider dependencies. Register implementations with DI as IBuildOptionProvider to have them automatically included.

Methods

GetBuildOptions(IReadOnlyList<IBuildOption>)

Gets additional build options based on the current base options from IBuildDefinition.

IReadOnlyList<IBuildOption> GetBuildOptions(IReadOnlyList<IBuildOption> baseOptions)

Parameters

baseOptions IReadOnlyList<IBuildOption>

The base options from Options.

Returns

IReadOnlyList<IBuildOption>

Additional build options to merge into the resolved set.