예제 #1
0
 public WordSearchProgramHelper(IConsoleWrapper consoleWrapper, IFileOperations fileOperations, IWordFinder wordFinder, ISearchOrientationManager searchOrientationManager)
 {
     _consoleWrapper           = consoleWrapper;
     _fileOperations           = fileOperations;
     _wordFinder               = wordFinder;
     _searchOrientationManager = searchOrientationManager;
 }
예제 #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;
 }
예제 #3
0
        public WordFinderTests()
        {
            _wordList = new WordListUserDefined(new List <string>
            {
                "elephant",
                "monkey",
                "ant",
                "orangutan",
                "armadillo",
                "goat",
                "giraffe"
            });

            _wordFinder = new WordFinder(_wordList);
        }
예제 #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;
 }
예제 #6
0
 public FindWordsController(IWordFinder wf)
 {
     _wf = wf;
 }
예제 #7
0
 public DefaultController(IWordFinder wordFinder)
 {
     _wordFinder = wordFinder;
 }
예제 #8
0
 public PuzzleSolver(IWordFinder wordFinder)
 {
     _wordFinder = wordFinder;
 }
예제 #9
0
 public WordFinderTestSetup(IWordFinder wordFinder, params string[] words)
 {
     _wordFinder = wordFinder;
     _words      = words;
 }
예제 #10
0
 public void Init()
 {
     _matrix     = new string[] { "abcdm", "fgwia", "chilx", "pqnsi", "uvdxy" };
     _wordsTream = new string[] { "chill", "cold", "wind", "maxi" };
     _wordFinder = new WordFinder(_matrix);
 }
예제 #11
0
 public WordSearchProgram(IConsoleWrapper consoleWrapper, IFileOperations fileOperations, IWordFinder wordFinder, ISearchOrientationManager searchOrientationManager)
 {
     _programHelper  = new WordSearchProgramHelper(consoleWrapper, fileOperations, wordFinder, searchOrientationManager);
     _consoleWrapper = consoleWrapper;
 }
예제 #12
0
 public MatrixController(IMatrix matrix, IWordFinder wordFinder, ILogger <MatrixController> logger)
 {
     _matrix     = matrix;
     _wordFinder = wordFinder;
     _logger     = logger;
 }
예제 #13
0
 public LettersSolver(IWordFinder wordFinder)
 {
     _wordFinder = wordFinder;
 }