public ExampleCode(ExampleBase example, string name, string category, string solutionFile) { Example = example; Example.Console.Changed += new EventHandler(Console_Changed); Example.InputFileChanged += new EventHandler(Input_Changed); Name = name; OriginalFileName = solutionFile; Category = category; Runnable = true; AutoRun = false; Files = new List<ExampleFile>(); }