Class ExecutionValidatorBase
- Namespace
- BenchmarkDotNet.Validators
- Assembly
- BenchmarkDotNet.dll
public abstract class ExecutionValidatorBase : IValidator
- Inheritance
-
ExecutionValidatorBase
- Implements
- Derived
Constructors
ExecutionValidatorBase(bool)
protected ExecutionValidatorBase(bool failOnError)
Parameters
failOnError
bool
Properties
TreatsWarningsAsErrors
public bool TreatsWarningsAsErrors { get; }
Property Value
Methods
ExecuteBenchmarks(object, IEnumerable<BenchmarkCase>, List<ValidationError>)
protected abstract void ExecuteBenchmarks(object benchmarkTypeInstance, IEnumerable<BenchmarkCase> benchmarks, List<ValidationError> errors)
Parameters
benchmarkTypeInstance
objectbenchmarks
IEnumerable<BenchmarkCase>errors
List<ValidationError>
GetDisplayExceptionMessage(Exception)
protected static string GetDisplayExceptionMessage(Exception ex)
Parameters
ex
Exception
Returns
Validate(ValidationParameters)
public IEnumerable<ValidationError> Validate(ValidationParameters validationParameters)
Parameters
validationParameters
ValidationParameters