Example #1
0
        public void StartApplicationWithConsoleInput()
        {
            UserHelper    userHelper    = new UserHelper();
            ThreadStarter threadStarter = new ThreadStarter();

            threadStarter.ProccessThreadPoolMethod(userHelper.GetThreadCount(), userHelper.GetArrayOfThreadIncrement());
        }
Example #2
0
        public void StartApplicationWithCmdArgs(string[] args)
        {
            int[]     results   = new int[2];
            Validator validator = new Validator();

            if (validator.ValidateInputCommandArgs(args, ref results))
            {
                ThreadStarter threadStarter = new ThreadStarter();
                threadStarter.ProccessThreadPoolMethod(results[0], results[1]);
            }
        }