Table of Contents

Class ValidationError

Namespace
BenchmarkDotNet.Validators
Assembly
BenchmarkDotNet.dll
public class ValidationError : IEquatable<ValidationError>
Inheritance
ValidationError
Implements

Constructors

ValidationError(bool, string, BenchmarkCase?)

public ValidationError(bool isCritical, string message, BenchmarkCase? benchmarkCase = null)

Parameters

isCritical bool
message string
benchmarkCase BenchmarkCase

Properties

BenchmarkCase

public BenchmarkCase? BenchmarkCase { get; }

Property Value

BenchmarkCase

IsCritical

public bool IsCritical { get; }

Property Value

bool

Message

public string Message { get; }

Property Value

string

Methods

Equals(ValidationError?)

public bool Equals(ValidationError? other)

Parameters

other ValidationError

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ValidationError, ValidationError)

public static bool operator ==(ValidationError left, ValidationError right)

Parameters

left ValidationError
right ValidationError

Returns

bool

operator !=(ValidationError, ValidationError)

public static bool operator !=(ValidationError left, ValidationError right)

Parameters

left ValidationError
right ValidationError

Returns

bool