private SchemaRecordCheck(SchemaRuleAccess ruleAccess, IndexAccessors indexAccessors, IDictionary <long, DynamicRecord> indexObligations, IDictionary <long, DynamicRecord> constraintObligations, IDictionary <SchemaRule, DynamicRecord> verifiedRulesWithRecords, CheckStrategy strategy) { this.RuleAccess = ruleAccess; this._indexAccessors = indexAccessors; this._indexObligations = indexObligations; this._constraintObligations = constraintObligations; this._verifiedRulesWithRecords = verifiedRulesWithRecords; this._strategy = strategy; }
public SchemaRecordCheck(SchemaRuleAccess ruleAccess, IndexAccessors indexAccessors) { this.RuleAccess = ruleAccess; this._indexAccessors = indexAccessors; this._indexObligations = new Dictionary <long, DynamicRecord>(); this._constraintObligations = new Dictionary <long, DynamicRecord>(); this._verifiedRulesWithRecords = new Dictionary <SchemaRule, DynamicRecord>(); this._strategy = new RulesCheckStrategy(this); }