/// <summary> /// Create a new example class /// </summary> /// <param name="example">Example structure from template parse</param> /// <param name="name">Title from TODO:</param> /// <param name="category">Category from TODO:</param> /// <param name="solutionFile">The solutionfilename</param> 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>(); }