Method Accept
- Namespace
- QueryGuard
- Assembly
- QueryGuard.Core.dll
Accept(QueryGuardBaseline)
Returns a baseline updated with everything measured in this run.
public QueryGuardBaseline Accept(QueryGuardBaseline baseline)
Parameters
baselineQueryGuardBaselineThe baseline to update.
Returns
- QueryGuardBaseline
A new baseline; the original is unchanged.
Remarks
Accepting a regression is a deliberate act: regenerate the baseline, commit it, and the diff shows a reviewer that a scope went from 3 to 51 and somebody decided that was fine.
Exceptions
- ArgumentNullException
baselineis null.