Method Compare
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
Compare(QueryGuardBaseline, IEnumerable<QueryGuardResult>)
Compares measured results against a baseline.
public static QueryGuardBaselineComparison Compare(QueryGuardBaseline baseline, IEnumerable<QueryGuardResult> results)
Parameters
baselineQueryGuardBaselineThe recorded baseline. Empty is valid.
resultsIEnumerable<QueryGuardResult>The results measured in this run.
Returns
- QueryGuardBaselineComparison
The comparison.
Remarks
Scopes present in the baseline but absent from this run are ignored rather than reported as removed. A test run filtered to one project would otherwise claim every other endpoint had been deleted, and being wrong that loudly is worse than saying nothing.
Exceptions
- ArgumentNullException
A required argument is null.