Class GenerateResult
Namespace: BenchmarkDotNet.Toolchains.Results
Assembly: BenchmarkDotNet.dll
Syntax
public class GenerateResult
Constructors
GenerateResult(ArtifactsPaths, Boolean, Exception, IReadOnlyCollection<String>, Boolean)
Declaration
public GenerateResult(ArtifactsPaths artifactsPaths, bool isGenerateSuccess, Exception generateException, IReadOnlyCollection<string> artifactsToCleanup, bool noAcknowledgments)
Parameters
Type | Name | Description |
---|---|---|
ArtifactsPaths | artifactsPaths | |
Boolean | isGenerateSuccess | |
Exception | generateException | |
IReadOnlyCollection<String> | artifactsToCleanup | |
Boolean | noAcknowledgments |
Properties
ArtifactsPaths
Declaration
public ArtifactsPaths ArtifactsPaths { get; }
Property Value
Type | Description |
---|---|
ArtifactsPaths |
ArtifactsToCleanup
Declaration
public IReadOnlyCollection<string> ArtifactsToCleanup { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCollection<String> |
GenerateException
Declaration
public Exception GenerateException { get; }
Property Value
Type | Description |
---|---|
Exception |
IsGenerateSuccess
Declaration
public bool IsGenerateSuccess { get; }
Property Value
Type | Description |
---|---|
Boolean |
NoAcknowledgments
Declaration
public bool NoAcknowledgments { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Failure(ArtifactsPaths, IReadOnlyCollection<String>, Exception)
Declaration
public static GenerateResult Failure(ArtifactsPaths artifactsPaths, IReadOnlyCollection<string> artifactsToCleanup, Exception exception = null)
Parameters
Type | Name | Description |
---|---|---|
ArtifactsPaths | artifactsPaths | |
IReadOnlyCollection<String> | artifactsToCleanup | |
Exception | exception |
Returns
Type | Description |
---|---|
GenerateResult |
Success(ArtifactsPaths, IReadOnlyCollection<String>, Boolean)
Declaration
public static GenerateResult Success(ArtifactsPaths artifactsPaths, IReadOnlyCollection<string> artifactsToCleanup, bool noAcknowledgments)
Parameters
Type | Name | Description |
---|---|---|
ArtifactsPaths | artifactsPaths | |
IReadOnlyCollection<String> | artifactsToCleanup | |
Boolean | noAcknowledgments |
Returns
Type | Description |
---|---|
GenerateResult |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |