public void ProcessFile(string fileContents, string filePath) { using (var txtRdr = Utility.Utility.CreateTextReaderFromString(fileContents)) { _ruleVisitor.VisitRules(filePath, txtRdr); } _fileCount++; }
private void ProcessRules(Stream fileStream, IEnumerable <IRuleException> ignoredRules, string filePath) { ruleVisitor.VisitRules(filePath, ignoredRules, fileStream); }
private void ProcessRules(Stream fileStream, string filePath) { _ruleVisitor.VisitRules(filePath, fileStream); }