Microsoft.Fast.Program.Main C# (CSharp) Method

Main() static private method

static private Main ( string args ) : void
args string
return void
        static void Main(string[] args)
        {
            if (args.Length < 1 || args.Length > 2)
            {
                Console.WriteLine("Usage: tool.exe <file.fast> [<cs_master_file>]");
                return;
            }

            string cs_master_file = (args.Length > 1 ? args[1] : "");

            Run(File.ReadAllText(args[0]), null, cs_master_file, args[0]);
        }