public CommandInterpreter(IContentComparer judge, IDatabase repository,
                           IDirectoryManager inputOutputManager)
 {
     this.judge              = judge;
     this.repository         = repository;
     this.inputOutputManager = inputOutputManager;
 }
예제 #2
0
 public CommandInterpreter(IContentComparer judge, IStudentsRepository repository, IDirectoryManager IOManager)
 {
     this.container = new DependencyContainer(typeof(InjectAttribute));
     container.AddDependency <IContentComparer, IContentComparer>(judge);
     container.AddDependency <IStudentsRepository, IStudentsRepository>(repository);
     container.AddDependency <IDirectoryManager, IDirectoryManager>(IOManager);
 }
예제 #3
0
 public CommandInterpreter(IContentComparer tester, IDatabase repository, IDownloadManager downloadManager, IDirectoryManager ioManager)
 {
     this.tester          = tester;
     this.repository      = repository;
     this.downloadManager = downloadManager;
     this.ioManager       = ioManager;
 }
 public DisplayCommand(string input, string[] data, IContentComparer judge, IDatabase repository, IDirectoryManager inputOutputManager)
 {
     this.input              = input;
     this.data               = data;
     this.judge              = judge;
     this.repository         = repository;
     this.inputOutputManager = inputOutputManager;
 }
예제 #5
0
 public Command(string input, string[] data, IContentComparer tester, IDatabase repository,
                IDownloadManager downloadManager, IDirectoryManager ioManager)
 {
     this.Input              = input;
     this.Data               = data;
     this.tester             = tester;
     this.repository         = repository;
     this.downloadManager    = downloadManager;
     this.inputOutputManager = ioManager;
 }
 public CommandInterpreter(IContentComparer judge,
     IDatabase repository,
     IDownloadManager downloadManager,
     IDirectoryManager inputOutputManager)
 {
     this.judge = judge;
     this.repository = repository;
     this.downloadManager = downloadManager;
     this.inputOutputManager = inputOutputManager;
 }
예제 #7
0
 public DisplayCommand(
     string input,
     string[] data,
     IContentComparer tester,
     IDatabase repository,
     IDownloadManager downloadManager,
     IDirectoryManager ioManager)
     : base(input, data, tester, repository, downloadManager, ioManager)
 {
 }
 public ReadDatabaseCommand(string input, string[] data, IContentComparer judge, IDatabase repository, IDirectoryManager inputOutputManager) : base(input, data, judge, repository, inputOutputManager)
 {
 }
예제 #9
0
 public ChangeAbsolutePathCommand(string input, string[] data, IContentComparer judge, IDatabase repository, IDirectoryManager inputOutputManager) : base(input, data, judge, repository, inputOutputManager)
 {
 }
예제 #10
0
 public PrintFilteredStudentsCommand(string input, string[] data, IContentComparer judge, IDatabase repository, IDirectoryManager inputOutputManager)
     : base(input, data, judge, repository, inputOutputManager)
 {
 }
예제 #11
0
 public DisplayCommand(string input, string[] data, IContentComparer judge, IDatabase repository,
                       IDownloadManager downloadManager, IDirectoryManager inputOutputManager)
     : base(input, data, judge, repository, downloadManager, inputOutputManager)
 {
 }
예제 #12
0
 public CommandInterpreter(IContentComparer tester, IDatabase repository, IDirectoryManager manager)
 {
     this.tester     = tester;
     this.repository = repository;
     this.manager    = manager;
 }
예제 #13
0
 public CommandInterpreter(IContentComparer tester, IDatabase studentsRepository, IDirectoryManager inputOutputManager)
 {
     this.tester             = tester;
     this.studentsRepository = studentsRepository;
     this.inputOutputManager = inputOutputManager;
 }