private Critic TryCreateCritic(RuleContext ruleContext)
 {
     Critic critic = null;
     try
     {
         critic = new Critic(ruleContext, SettingsBuilder.Settings);
     }
     catch (FileNotFoundException ex)
     {
         "Cannot load rules file - {0}".ConsoleWriteLine(ex.FileName);
     }
     return critic;
 }
Exemple #2
0
 public SkepticWriter(Critic critic, TextWriter writer)
 {
     Critic = critic;
     Writer = writer;
 }