Exemple #1
0
        public static void Main(string[] args)
        {
            // Each code module to run implenets the ICodeRunModule interface.
            // Built as a .NET Core class library dll and refernced by itsnamespace
            // Call CodeRunModule using CodeRunFramework.run(CodeRunModule)

            var cr = new SampleCodeRun();

            CodeRunFramework.Run(cr);

            var ga = new GenericArrayCodeRun();

            CodeRunFramework.Run(ga);

            var gd = new GenericDelegateRun();

            CodeRunFramework.Run(gd);

            var gm = new GenericMethodRun();

            CodeRunFramework.Run(gm);

            var sa = new SampleCodeRun();

            CodeRunFramework.Run(sa);

            var em = new EmployeeCodeRun();

            CodeRunFramework.Run(em);

            var wd = new WidgetCodeRun();

            CodeRunFramework.Run(wd);
        }
Exemple #2
0
        static void Main(string[] args)
        {
            var wd = new WidgetCodeRun();

            CodeRun.Run(wd);
        }