Exemple #1
0
 public WordSearchProgramHelper(IConsoleWrapper consoleWrapper, IFileOperations fileOperations, IWordFinder wordFinder, ISearchOrientationManager searchOrientationManager)
 {
     _consoleWrapper           = consoleWrapper;
     _fileOperations           = fileOperations;
     _wordFinder               = wordFinder;
     _searchOrientationManager = searchOrientationManager;
 }
Exemple #2
0
 public TechnicalCertificateImageProcesser(ITechnicalCertificateService technicalCertificateService,
                                           IWordMatcher wordMatcher,
                                           IWordFinder typeFinder,
                                           IWordFinder markAndModelFinder,
                                           IWordFinder chassisNumFinder,
                                           IWordFinder bodyCodeFinder,
                                           IWordFinder colorFinder,
                                           IWordFinder matriculNumFinder,
                                           IWordFinder firstRegistrationDateFinder,
                                           IWordFinder receptionNumFinder,
                                           IWordFinder soNumFinder,
                                           ITechnicalCertificateValidatior validator)
 {
     this.technicalCertificateService = technicalCertificateService;
     this.wordMatcher                 = wordMatcher;
     this.typeFinder                  = typeFinder;
     this.markAndModelFinder          = markAndModelFinder;
     this.chassisNumFinder            = chassisNumFinder;
     this.bodyCodeFinder              = bodyCodeFinder;
     this.colorFinder                 = colorFinder;
     this.matriculNumFinder           = matriculNumFinder;
     this.firstRegistrationDateFinder = firstRegistrationDateFinder;
     this.receptionNumFinder          = receptionNumFinder;
     this.soNumFinder                 = soNumFinder;
     this.validator = validator;
 }
Exemple #3
0
        public WordFinderTests()
        {
            _wordList = new WordListUserDefined(new List <string>
            {
                "elephant",
                "monkey",
                "ant",
                "orangutan",
                "armadillo",
                "goat",
                "giraffe"
            });

            _wordFinder = new WordFinder(_wordList);
        }
Exemple #4
0
 public TechnicalCertificateImageProcesser(IWordMatcher wordMatcher,
                                           IWordFinder typeFinder,
                                           IWordFinder markAndModelFinder,
                                           IWordFinder chassisNumFinder,
                                           IWordFinder bodyCodeFinder,
                                           IWordFinder colorFinder,
                                           IWordFinder matriculNumFinder,
                                           IWordFinder firstRegistrationDateFinder)
 {
     this.wordMatcher                 = wordMatcher;
     this.typeFinder                  = typeFinder;
     this.markAndModelFinder          = markAndModelFinder;
     this.chassisNumFinder            = chassisNumFinder;
     this.bodyCodeFinder              = bodyCodeFinder;
     this.colorFinder                 = colorFinder;
     this.matriculNumFinder           = matriculNumFinder;
     this.firstRegistrationDateFinder = firstRegistrationDateFinder;
 }
 public TechnicalCertificateService(IWordMatcher wordMatcher,
                                    IWordFinder typeFinder,
                                    IWordFinder markAndModelFinder,
                                    IWordFinder chassisNumFinder,
                                    IWordFinder bodyCodeFinder,
                                    IWordFinder colorFinder,
                                    IWordFinder matriculNumFinder,
                                    IWordFinder firstRegistrationDateFinder,
                                    IWordFinder receptionNumFinder,
                                    IWordFinder soNumFinder)
 {
     this.wordMatcher                 = wordMatcher;
     this.typeFinder                  = typeFinder;
     this.markAndModelFinder          = markAndModelFinder;
     this.chassisNumFinder            = chassisNumFinder;
     this.bodyCodeFinder              = bodyCodeFinder;
     this.colorFinder                 = colorFinder;
     this.matriculNumFinder           = matriculNumFinder;
     this.firstRegistrationDateFinder = firstRegistrationDateFinder;
     this.receptionNumFinder          = receptionNumFinder;
     this.soNumFinder                 = soNumFinder;
 }
Exemple #6
0
 public FindWordsController(IWordFinder wf)
 {
     _wf = wf;
 }
 public DefaultController(IWordFinder wordFinder)
 {
     _wordFinder = wordFinder;
 }
Exemple #8
0
 public PuzzleSolver(IWordFinder wordFinder)
 {
     _wordFinder = wordFinder;
 }
 public WordFinderTestSetup(IWordFinder wordFinder, params string[] words)
 {
     _wordFinder = wordFinder;
     _words      = words;
 }
Exemple #10
0
 public void Init()
 {
     _matrix     = new string[] { "abcdm", "fgwia", "chilx", "pqnsi", "uvdxy" };
     _wordsTream = new string[] { "chill", "cold", "wind", "maxi" };
     _wordFinder = new WordFinder(_matrix);
 }
 public WordSearchProgram(IConsoleWrapper consoleWrapper, IFileOperations fileOperations, IWordFinder wordFinder, ISearchOrientationManager searchOrientationManager)
 {
     _programHelper  = new WordSearchProgramHelper(consoleWrapper, fileOperations, wordFinder, searchOrientationManager);
     _consoleWrapper = consoleWrapper;
 }
 public MatrixController(IMatrix matrix, IWordFinder wordFinder, ILogger <MatrixController> logger)
 {
     _matrix     = matrix;
     _wordFinder = wordFinder;
     _logger     = logger;
 }
 public LettersSolver(IWordFinder wordFinder)
 {
     _wordFinder = wordFinder;
 }