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