Table of Contents

Class GenerateResult

Namespace
BenchmarkDotNet.Toolchains.Results
Assembly
BenchmarkDotNet.dll
public class GenerateResult
Inheritance
GenerateResult
Derived

Constructors

GenerateResult(ArtifactsPaths, bool, Exception, IReadOnlyCollection<string>)

public GenerateResult(ArtifactsPaths artifactsPaths, bool isGenerateSuccess, Exception generateException, IReadOnlyCollection<string> artifactsToCleanup)

Parameters

artifactsPaths ArtifactsPaths
isGenerateSuccess bool
generateException Exception
artifactsToCleanup IReadOnlyCollection<string>

Properties

ArtifactsPaths

public ArtifactsPaths ArtifactsPaths { get; }

Property Value

ArtifactsPaths

ArtifactsToCleanup

public IReadOnlyCollection<string> ArtifactsToCleanup { get; }

Property Value

IReadOnlyCollection<string>

GenerateException

public Exception GenerateException { get; }

Property Value

Exception

IsGenerateSuccess

public bool IsGenerateSuccess { get; }

Property Value

bool

Methods

Failure(ArtifactsPaths, IReadOnlyCollection<string>, Exception?)

public static GenerateResult Failure(ArtifactsPaths artifactsPaths, IReadOnlyCollection<string> artifactsToCleanup, Exception? exception = null)

Parameters

artifactsPaths ArtifactsPaths
artifactsToCleanup IReadOnlyCollection<string>
exception Exception

Returns

GenerateResult

Success(ArtifactsPaths, IReadOnlyCollection<string>)

public static GenerateResult Success(ArtifactsPaths artifactsPaths, IReadOnlyCollection<string> artifactsToCleanup)

Parameters

artifactsPaths ArtifactsPaths
artifactsToCleanup IReadOnlyCollection<string>

Returns

GenerateResult

ToString()

public override string ToString()

Returns

string