コード例 #1
0
 public void ProcessFile(string fileContents, string filePath)
 {
     using (var txtRdr = Utility.Utility.CreateTextReaderFromString(fileContents))
     {
         _ruleVisitor.VisitRules(filePath, txtRdr);
     }
     _fileCount++;
 }
コード例 #2
0
 private void ProcessRules(Stream fileStream, IEnumerable <IRuleException> ignoredRules, string filePath)
 {
     ruleVisitor.VisitRules(filePath, ignoredRules, fileStream);
 }
コード例 #3
0
 private void ProcessRules(Stream fileStream, string filePath)
 {
     _ruleVisitor.VisitRules(filePath, fileStream);
 }