public CorrectnessContext(ICoreVisitor visitor, bool strictMode) { _visitor = visitor ?? throw new ArgumentNullException(nameof(visitor)); Options = CorrectnessOptions.Copy(); StrictMode = strictMode; CorrectRuleChain = new(); }
public CorrectContext(ICoreVisitor visitor, bool strictMode) { _visitor = visitor ?? throw new ArgumentNullException(nameof(visitor)); _correctValueRules = new List <CorrectValueRule>(); StrictMode = strictMode; }
protected CorrectContext(bool strictMode) { _visitor = null; _correctValueRules = new List <CorrectValueRule>(); StrictMode = strictMode; }