Table of Contents

Class OutputPlannerAdapter

Namespace
Refitter.Core
Assembly
Refitter.Core.dll

Adapts the static OutputPlanner methods to the IOutputPlanner interface.

public class OutputPlannerAdapter : IOutputPlanner
Inheritance
OutputPlannerAdapter
Implements
Inherited Members

Methods

Plan(GeneratorOutput, IOutputConfiguration, string?, string?)

Plans the output file paths for the given generator output.

public IReadOnlyList<PlannedFile> Plan(GeneratorOutput output, IOutputConfiguration config, string? settingsFilePath, string? cliOutputPath)

Parameters

output GeneratorOutput

The generator output containing generated files.

config IOutputConfiguration

The output configuration.

settingsFilePath string

The path to the settings file, or null for direct CLI generation.

cliOutputPath string

The output path specified via CLI, or null.

Returns

IReadOnlyList<PlannedFile>

A read-only list of planned files with resolved paths and content.