Пример #1
0
 static int Main(string[] args)
 {
     if (args != null && args.Length == 4)
     {
         LoanExtractor loanExtractor = new LoanExtractor();
         Session       session       = SessionUtils.GetEncompassSession(args[1], args[2], args[3]);
         FieldUtils.session = session;
         loanExtractor.DoExtraction(session, (args[0]));
         session.End();
         return(1);
     }
     else
     {
         Console.WriteLine(
             "Usage [Loan Guid or Loan Number] [Encompass url] [Encompass User] [Encompass Password]");
         return(0);
     }
 }
 static int Main(string[] args)
 {
     if (args != null && args.Length == 4)
     {
         LoanExtractor loanExtractor = new LoanExtractor();
         Session session = SessionUtils.GetEncompassSession(args[1], args[2], args[3]);
         FieldUtils.session = session;
         loanExtractor.DoExtraction(session, (args[0]));
         session.End();
         return 1;
     }
     else
     {
         Console.WriteLine(
             "Usage [Loan Guid or Loan Number] [Encompass url] [Encompass User] [Encompass Password]");
         return 0;
     }
 }