예제 #1
0
        public void RunDeployment(String[] args)
        {
            if (args.Length == 0)
            {
                this.ShowUsage();
            }
            else
            {
                switch (args[0])
                {
                case "-deploy":
                    Deploy d = new Deploy();
                    d.RunDeploy(args);
                    break;

                case "-extract":
                    Extract e = new Extract();
                    e.RunExtract(args);
                    break;

                case "-dllupdate":
                    DllUpdate du = new DllUpdate();
                    du.RunDllUpdate(args);
                    break;

                case "-dllverify":
                    DllVerify dv = new DllVerify();
                    dv.Verify(args);
                    break;

                case "-test":
                    Test t = new Test();
                    t.RunTest(args);
                    break;

                case "-list":
                    List l = new List();
                    l.RunList(args);
                    break;

                case "-vocab":
                    Vocab v = new Vocab();
                    v.RunVocab(args);
                    break;

                case "-help":
                    this.ShowUsage();
                    break;

                case "-xmldeploy":
                    XmlDeploy x = new XmlDeploy();
                    x.RunXmlDeploy(args);
                    break;

                default:
                    this.ShowUsage();
                    break;
                }
            }
        }
예제 #2
0
 public void RunDeployment(String[] args)
 {
     if (args.Length == 0)
     {
         this.ShowUsage();
     }
     else
     {
         switch (args[0])
         {
             case "-deploy":
                 Deploy d = new Deploy();
                 d.RunDeploy(args);
                 break;
             case "-extract":
                 Extract e = new Extract();
                 e.RunExtract(args);
                 break;
             case "-dllupdate":
                 DllUpdate du = new DllUpdate();
                 du.RunDllUpdate(args);
                 break;
             case "-dllverify":
                 DllVerify dv = new DllVerify();
                 dv.Verify(args);
                 break;
             case "-test":
                 Test t = new Test();
                 t.RunTest(args);
                 break;
             case "-list":
                 List l = new List();
                 l.RunList(args);
                 break;
             case "-vocab":
                 Vocab v = new Vocab();
                 v.RunVocab(args);
                 break;
             case "-help":
                 this.ShowUsage();
                 break;
             case "-xmldeploy":
                 XmlDeploy x = new XmlDeploy();
                 x.RunXmlDeploy(args);
                 break;
             default:
                 this.ShowUsage();
                 break;
         }
     }
 }