/// <summary> /// Initializes an instance of <see cref="QueryValidator"/> /// </summary> /// <param name="descriptors"><see cref="IQueryValidationDescriptors"/> for getting descriptors for queries for running through rules</param> /// <param name="ruleContexts"><see cref="IRuleContexts"/> used for getting <see cref="IRuleContext"/></param> public QueryValidator(IQueryValidationDescriptors descriptors, IRuleContexts ruleContexts) { _descriptors = descriptors; _ruleContexts = ruleContexts; }