Beispiel #1
0
        public static void Main(string[] args)
        {
            if (args.Length < 2)
            {
                Die("Usage: gconfsharp-schemagen namespace schemafile");
            }
            string ns       = args[0];
            string filename = args[1];

            SchemaGen gen = new SchemaGen();

            gen.Parse(filename);
            gen.Generate(ns);
        }
		public static void Main (string[] args)
		{
			if (args.Length < 2)
				Die ("Usage: gconfsharp-schemagen namespace schemafile");
			string ns = args[0];
			string filename = args[1];
			
			SchemaGen gen = new SchemaGen ();
			gen.Parse (filename);
			gen.Generate (ns);
		}