GetExecutor() public method

public GetExecutor ( ) : IExecute
return IExecute
Example #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();
 }
Example #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());
        }