ExamplesFx.ExampleCode.ExampleCode C# (CSharp) Method

ExampleCode() public method

Create a new example class
public ExampleCode ( ExampleBase example, string name, string category, string solutionFile ) : System
example ExampleBase Example structure from template parse
name string Title from TODO:
category string Category from TODO:
solutionFile string The solutionfilename
return System
        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>();
        }