static void Main(string[] arguments) { int iParam = 0; foreach (string argument in arguments) { Console.Out.WriteLine("param " + iParam + ": " + argument); iParam++; } Checker checker = new Checker(); checker.CheckFile("C:/Program.cs"); }
public void Run() { myResults = new Collection<Results>(); MSBuildReader reader = new MSBuildReader(configurationFile); Collection<string> allFiles = reader.FilesToInclude(); foreach (string file in allFiles) { Checker checker = new Checker(); Results results = checker.CheckFile(file); isHappy &= results.Happy; myResults.Add(results); } }