Table of Contents

Struct DotNetCliCommandResult

Namespace
BenchmarkDotNet.Toolchains.DotNetCli
Assembly
BenchmarkDotNet.dll
public struct DotNetCliCommandResult
Inherited Members

Properties

AllInformation

public string AllInformation { get; }

Property Value

string

ExecutionTime

public readonly TimeSpan ExecutionTime { get; }

Property Value

TimeSpan

HasNonEmptyErrorMessage

public bool HasNonEmptyErrorMessage { get; }

Property Value

bool

IsSuccess

public readonly bool IsSuccess { get; }

Property Value

bool

StandardError

public readonly string StandardError { get; }

Property Value

string

StandardOutput

public readonly string StandardOutput { get; }

Property Value

string

Methods

Failure(TimeSpan, string, string)

public static DotNetCliCommandResult Failure(TimeSpan time, string standardError, string standardOutput)

Parameters

time TimeSpan
standardError string
standardOutput string

Returns

DotNetCliCommandResult

Success(TimeSpan, string)

public static DotNetCliCommandResult Success(TimeSpan time, string standardOutput)

Parameters

time TimeSpan
standardOutput string

Returns

DotNetCliCommandResult

ToBuildResult(GenerateResult)

public BuildResult ToBuildResult(GenerateResult generateResult)

Parameters

generateResult GenerateResult

Returns

BuildResult