Beispiel #1
0
 static int Main(string[] args)
 {
     if (args != null && args.Length == 4)
     {
         FieldDescriptions fieldDescriptions = new FieldDescriptions(args[0]);
         Session           session           = SessionUtils.GetEncompassSession(args[1], args[2], args[3]);
         //fieldDescriptions.WriteReportableVirtual(session);
         fieldDescriptions.WriteFieldsAndDescriptionsToFile(session);
         return(1);
     }
     else
     {
         Console.WriteLine("Usage [output file name] [Encompass url] [Encompass User] [Encompass Password]");
         return(0);
     }
 }
 static int Main(string[] args)
 {
     if (args != null && args.Length == 4)
     {
         FieldDescriptions fieldDescriptions = new FieldDescriptions(args[0]);
         Session session = SessionUtils.GetEncompassSession(args[1], args[2], args[3]);
         //fieldDescriptions.WriteReportableVirtual(session);
         fieldDescriptions.WriteFieldsAndDescriptionsToFile(session);
         return 1;
     }
     else
     {
         Console.WriteLine("Usage [output file name] [Encompass url] [Encompass User] [Encompass Password]");
         return 0;
     }
 }