private string StyleCheck(Assignment homework) { StringBuilder result = new StringBuilder(); StyleExecutor executor = new StyleExecutor(); foreach (string file in homework.FileNames) { string errors = executor.Run(homework.Path + file); result.AppendFormat("File: {0}\n", file); result.AppendFormat("{0}\n", errors); } return(JarvisEncoding.ToHtmlEncoding(result.ToString())); }
public IndentationChecker(StyleExecutor executor) : base(executor) { // empty }
protected AbstractStyleChecker(StyleExecutor executor) { this.executor = executor; }