示例#1
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;
 }
示例#2
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;
 }
示例#3
0
 public FizzBuzz(IWordGetter wordGetter)
 {
     _wordGetter = wordGetter;
 }
示例#4
0
 public FizzBuzz(IWordGetter wordGetter)
 {
     _wordGetter = wordGetter;
 }
示例#5
0
 public App(IWordGetter wordGetter)
 {
     this._wordGetter = wordGetter;
 }