Example #1
0
        static void Main(string[] args)
        {
            var searchPath = args[0];

            Console.WriteLine("CoreLayerADC Framework Compiler");
            Console.WriteLine("-------------------------------");

            Console.WriteLine("Search path: {0}", searchPath);

            try
            {
                _moduleProcessor =
                    ModuleProcessor.GetModuleProcessor(ModuleLoader.LoadModulesFromDirectory(searchPath));
                FileOutput.WriteAll(_moduleProcessor, searchPath);
            }
            catch (ArgumentException ex)
            {
                Console.WriteLine("Terminating application: {0}", ex.Message);
            }
        }