Table of Contents

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

baseline QueryGuardBaseline

The recorded baseline. Empty is valid.

results IEnumerable<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.