Beispiel #1
0
 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;
 }
Beispiel #2
0
 public SkepticWriter(Critic critic, TextWriter writer)
 {
     Critic = critic;
     Writer = writer;
 }