Ejemplo n.º 1
0
 public CommandInterpreter(Tester judge, StudentsRepository repository, DownloadManager downloadManager, IOManager inputOutputManager)
 {
     this.judge = judge;
     this.repository = repository;
     this.downloadManager = downloadManager;
     this.inputOutputManager = inputOutputManager;
 }
Ejemplo n.º 2
0
        public static void Main()
        {
            Tester tester = new Tester();
            DownloadManager downloadManager = new DownloadManager();
            IOManager ioManager=new IOManager();
            StudentsRepository repo=new StudentsRepository(new RepositorySorter(), new RepositoryFilter());
            CommandInterpreter currentInterpreter=new CommandInterpreter(tester, repo, downloadManager, ioManager);
            InputReader reader=new InputReader(currentInterpreter);

            reader.StartReadingCommands();
        }
Ejemplo n.º 3
0
 public ReadDatabaseCommand(string input, string[] data, Tester tester, StudentsRepository repository, DownloadManager downloadManager, IOManager ioManager)
     : base(input, data, tester, repository, downloadManager, ioManager)
 {
 }
Ejemplo n.º 4
0
 public ChangeAbsolutePathCommand(string input, string[] data, Tester tester, StudentsRepository repository, DownloadManager downloadManager, IOManager ioManager)
     : base(input, data, tester, repository, downloadManager, ioManager)
 {
 }
 public PrintFilteredStudentsCommand(string input, string[] data, Tester tester, StudentsRepository repository, DownloadManager downloadManager, IOManager ioManager) : base(input, data, tester, repository, downloadManager, ioManager)
 {
 }