public ParserLogic(IInputDataReader inputDataReading, IInputDataConverter inputDataConvert,
                    IOutputDataPreparer outputDataPrepare)
 {
     this.inputDataConvert  = inputDataConvert;
     this.inputDataReading  = inputDataReading;
     this.outputDataPrepare = outputDataPrepare;
 }
Example #2
0
        static void Main(string[] args)
        {
            IInputDataReader     reader    = ServiceProviderManager.GetServiceProvider().GetService <IInputDataReader>();
            IEnumerable <string> inputData = reader.RetrieveInputData().Distinct();
            var processor = new WordsProcessor(6, inputData);
            IEnumerable <Tuple <string, string> > res = processor.GenerateWordCombinations();


            foreach (var r in res)
            {
                Console.WriteLine(ConsoleViewTemplate.Apply(r.Item1, r.Item2));
            }
        }
 public Application(IInputDataReader inputDataReader, ISpreadsheetFactory spreadsheetFactory)
 {
     _inputDataReader    = inputDataReader;
     _spreadsheetFactory = spreadsheetFactory;
 }