Table of Contents

Class ExecuteResult

Namespace
BenchmarkDotNet.Toolchains.Results
Assembly
BenchmarkDotNet.dll
public class ExecuteResult
Inheritance
ExecuteResult

Constructors

ExecuteResult(bool, int?, int?, IReadOnlyList<string>, IReadOnlyList<string>, IReadOnlyList<string>, int)

public ExecuteResult(bool foundExecutable, int? exitCode, int? processId, IReadOnlyList<string> results, IReadOnlyList<string> prefixedLines, IReadOnlyList<string> standardOutput, int launchIndex)

Parameters

foundExecutable bool
exitCode int?
processId int?
results IReadOnlyList<string>
prefixedLines IReadOnlyList<string>
standardOutput IReadOnlyList<string>
launchIndex int

Properties

Errors

public IReadOnlyList<string> Errors { get; }

Property Value

IReadOnlyList<string>

ExitCode

public int? ExitCode { get; }

Property Value

int?

FoundExecutable

public bool FoundExecutable { get; }

Property Value

bool

IsSuccess

public bool IsSuccess { get; }

Property Value

bool

Measurements

public IReadOnlyList<Measurement> Measurements { get; }

Property Value

IReadOnlyList<Measurement>

PrefixedLines

Lines reported by the Benchmark process that are starting with "//"

public IReadOnlyList<string> PrefixedLines { get; }

Property Value

IReadOnlyList<string>

ProcessId

public int? ProcessId { get; }

Property Value

int?

Results

Lines reported by the Benchmark process that are not starting with "//"

public IReadOnlyList<string> Results { get; }

Property Value

IReadOnlyList<string>

StandardOutput

All lines printed to standard output by the Benchmark process

public IReadOnlyList<string> StandardOutput { get; }

Property Value

IReadOnlyList<string>

Methods

LogIssues(ILogger, BuildResult)

public void LogIssues(ILogger logger, BuildResult buildResult)

Parameters

logger ILogger
buildResult BuildResult

ToString()

public override string ToString()

Returns

string