예제 #1
0
파일: Program.cs 프로젝트: rzaitov/Porter
        public static void Main(string[] args)
        {
            if (args.Length == 0) {
                Console.WriteLine ("objcporter path/to/objcfile");
                return;
            }

            string path = args [0];
            string fileContent = File.ReadAllText (path);

            var extruder = new InterfaceExtruder (fileContent);
            extruder.Extrude ();
        }
예제 #2
0
        public static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                Console.WriteLine("objcporter path/to/objcfile");
                return;
            }

            string path        = args [0];
            string fileContent = File.ReadAllText(path);

            var extruder = new InterfaceExtruder(fileContent);

            extruder.Extrude();
        }