GetExecutor() 공개 메소드

public GetExecutor ( ) : IExecute
리턴 IExecute
예제 #1
0
 public static IExecute ParseTokens(string[] args)
 {
     if(args.Count() != 8)
         throw new ApplicationException("unable to complete request ensure that the requisite number of parameters are used");
     var factory = new ApplicationFactory(args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]);
     return factory.GetExecutor();
 }
예제 #2
0
        public static IExecute ParseTokens(string[] args)
        {
            if (args.Count() != 8)
            {
                throw new ApplicationException("unable to complete request ensure that the requisite number of parameters are used");
            }
            var factory = new ApplicationFactory(args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]);

            return(factory.GetExecutor());
        }