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
ArtifactsPathsisGenerateSuccess
boolgenerateException
ExceptionartifactsToCleanup
IReadOnlyCollection<string>
Properties
ArtifactsPaths
public ArtifactsPaths ArtifactsPaths { get; }
Property Value
ArtifactsToCleanup
public IReadOnlyCollection<string> ArtifactsToCleanup { get; }
Property Value
GenerateException
public Exception GenerateException { get; }
Property Value
IsGenerateSuccess
public bool IsGenerateSuccess { get; }
Property Value
Methods
Failure(ArtifactsPaths, IReadOnlyCollection<string>, Exception?)
public static GenerateResult Failure(ArtifactsPaths artifactsPaths, IReadOnlyCollection<string> artifactsToCleanup, Exception? exception = null)
Parameters
artifactsPaths
ArtifactsPathsartifactsToCleanup
IReadOnlyCollection<string>exception
Exception
Returns
Success(ArtifactsPaths, IReadOnlyCollection<string>)
public static GenerateResult Success(ArtifactsPaths artifactsPaths, IReadOnlyCollection<string> artifactsToCleanup)
Parameters
artifactsPaths
ArtifactsPathsartifactsToCleanup
IReadOnlyCollection<string>
Returns
ToString()
public override string ToString()