ConvertFile() public method

public ConvertFile ( ) : void
return void
Example #1
0
        public static void Main(string[] args)
        {
#if !DEBUG
            if (args.Length != 2)
            {
                Console.WriteLine("Usage : xib2xaml <infile>.xib <outfile>.xaml");
                Environment.Exit(-1);
            }

            var convert = new Converter(args[0], args[1]);
            convert.ConvertFile();
#else
            var convert = new Converter("Test.xib", "Test.xaml");
            convert.ConvertFile();
#endif
        }
Example #2
0
        public static void Main(string[] args)
        {
#if !DEBUG
            if (args.Length != 2)
            {
                Console.WriteLine("Usage : xib2xaml <infile>.xib <outfile>.xaml");
                Environment.Exit(-1);
            }

            var convert = new Converter(args[0], args[1]);
            convert.ConvertFile();
#else
            var convert = new Converter("Test.xib", "Test.xaml");
            convert.ConvertFile();
#endif
        }