示例#1
0
        public void runNext()
        {
            if (_file != null)
            {
                List <string> data      = _file.getData();
                string[]      dataArray = data.ToArray();

                while (_currentRun < _maxRun)
                {
                    while (_currentLine < _file.getData().Count)
                    {
                        //Console.WriteLine("Running File\nCurrentRun: " + _currentRun + " of " + _maxRun + "\ncurrentLine: " + _currentLine);
                        //string runLine = _file.getData().ElementAt(_currentLine);
                        KernelMain.runInternal(dataArray[_currentLine]);
                        _currentLine++;
                    }
                    _currentLine = 0;
                    _currentRun++;
                }
                Console.Write(_file.getFullFileName() + " batch finished");
            }
        }
示例#2
0
 protected override void BeforeRun()
 {
     _kernel = new KernelMain();
 }