Table of Contents

Class RunResult

Namespace
Refitter.Core
Assembly
Refitter.Core.dll
public record RunResult : IEquatable<RunResult>
Inheritance
RunResult
Implements
Inherited Members

Constructors

RunResult(IReadOnlyList<PlannedFile>, IReadOnlyList<Warning>, IReadOnlyList<RunnerDiagnostic>, TimeSpan, int, Exception?)

public RunResult(IReadOnlyList<PlannedFile> GeneratedFiles, IReadOnlyList<Warning> Warnings, IReadOnlyList<RunnerDiagnostic> Diagnostics, TimeSpan Elapsed, int ExitCode, Exception? Exception = null)

Parameters

GeneratedFiles IReadOnlyList<PlannedFile>

The list of planned output files with their paths and content.

Warnings IReadOnlyList<Warning>

Configuration warnings detected during the run.

Diagnostics IReadOnlyList<RunnerDiagnostic>

Validation and error diagnostics collected during the run.

Elapsed TimeSpan

The elapsed time of the run.

ExitCode int

The exit code (0 for success, non-zero for failure).

Exception Exception

The original exception, if any, for form-specific error handling.

Properties

Diagnostics

Validation and error diagnostics collected during the run.

public IReadOnlyList<RunnerDiagnostic> Diagnostics { get; init; }

Property Value

IReadOnlyList<RunnerDiagnostic>

Elapsed

The elapsed time of the run.

public TimeSpan Elapsed { get; init; }

Property Value

TimeSpan

Exception

The original exception, if any, for form-specific error handling.

public Exception? Exception { get; init; }

Property Value

Exception

ExitCode

The exit code (0 for success, non-zero for failure).

public int ExitCode { get; init; }

Property Value

int

GeneratedFiles

The list of planned output files with their paths and content.

public IReadOnlyList<PlannedFile> GeneratedFiles { get; init; }

Property Value

IReadOnlyList<PlannedFile>

Warnings

Configuration warnings detected during the run.

public IReadOnlyList<Warning> Warnings { get; init; }

Property Value

IReadOnlyList<Warning>