Пример #1
0
 public LoadExcludingWordsAction(IExcludingWordRepository wordsRepository, IWordAnalyzer analyzer,
                                 IReader reader, IExceptionHandler exceptionHandler)
 {
     this.wordsRepository  = wordsRepository;
     this.analyzer         = analyzer;
     this.reader           = reader;
     this.exceptionHandler = exceptionHandler;
 }
Пример #2
0
 public TagGenerator(WordManager wordManager, ITagCloudLayouter tagLayouter,
                     IWordAnalyzer wordAnalyzer, IExceptionHandler exceptionHandler)
 {
     this.wordManager      = wordManager;
     this.tagLayouter      = tagLayouter;
     this.wordAnalyzer     = wordAnalyzer;
     this.exceptionHandler = exceptionHandler;
 }
Пример #3
0
 public Application(IWordAnalyzer wordStatisticGetter, ILayouter layouter, IVisualizer visualizer,
                    Options options,
                    IWriter writer, IWordGetter wordGetter, IWordsProcessor wordsProcessor, ImageFormat imageFormat = null)
 {
     this._wordStatisticGetter = wordStatisticGetter;
     this._layouter            = layouter;
     this._visualizer          = visualizer;
     this._options             = options;
     this._writer         = writer;
     this._wordGetter     = wordGetter;
     this._wordsProcessor = wordsProcessor;
     this._imageFormat    = imageFormat ?? ImageFormat.Jpeg;
 }
Пример #4
0
 public Application(IWordAnalyzer wordStatisticGetter, ILayouter layouter, IVisualizer visualizer,
                    Options options,
                    IWriter writer, IWordGetter wordGetter, IWordsProcessor wordsProcessor, IErrorHandler errorHandler,
                    ImageFormat imageFormat = null)
 {
     _wordStatisticGetter = wordStatisticGetter;
     _layouter            = layouter;
     _visualizer          = visualizer;
     _options             = options;
     _writer         = writer;
     _wordGetter     = wordGetter;
     _wordsProcessor = wordsProcessor;
     _imageFormat    = imageFormat ?? ImageFormat.Jpeg;
     _errorHandler   = errorHandler;
 }
Пример #5
0
 public WordsFilter(IWordAnalyzer analyzer, IWordConverter converter)
 {
     _analyzer  = analyzer;
     _converter = converter;
 }
Пример #6
0
 public LoadWordsAction(IRepository wordsRepository, IWordAnalyzer wordAnalyzer, IReader reader)
 {
     this.wordsRepository = wordsRepository;
     this.wordAnalyzer    = wordAnalyzer;
     this.reader          = reader;
 }
Пример #7
0
 public TagGenerator(WordManager wordManager, ITagCloudLayouter tagLayouter, IWordAnalyzer wordAnalyzer)
 {
     this.wordManager  = wordManager;
     this.tagLayouter  = tagLayouter;
     this.wordAnalyzer = wordAnalyzer;
 }
Пример #8
0
 public TagCloud(ICloudLayouter cloudLayouter, IWordAnalyzer wordAnalizer) =>