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
boolmessage
stringbenchmarkCase
BenchmarkCase
Properties
BenchmarkCase
public BenchmarkCase? BenchmarkCase { get; }
Property Value
IsCritical
public bool IsCritical { get; }
Property Value
Message
public string Message { get; }
Property Value
Methods
Equals(ValidationError?)
public bool Equals(ValidationError? other)
Parameters
other
ValidationError
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ValidationError, ValidationError)
public static bool operator ==(ValidationError left, ValidationError right)
Parameters
left
ValidationErrorright
ValidationError
Returns
operator !=(ValidationError, ValidationError)
public static bool operator !=(ValidationError left, ValidationError right)
Parameters
left
ValidationErrorright
ValidationError