Constructor ProbeCaseEvaluator
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
ProbeCaseEvaluator(IEnumerable<ProbeCase>, double, string?)
Creates the evaluator.
public ProbeCaseEvaluator(IEnumerable<ProbeCase> cases, double requiredPassRate = 1, string? name = null)
Parameters
casesIEnumerable<ProbeCase>The cases, at least one.
requiredPassRatedoubleThe share of cases that must pass, greater than 0 and at most 1. Default 1: every case.
namestringThe name recorded on the findings. Null uses DefaultName.
Exceptions
- ArgumentNullException
casesis null.- ArgumentException
casesis empty or holds a null case.- ArgumentOutOfRangeException
requiredPassRateis not greater than 0 and at most 1.