예제 #1
0
 public TagCloudGenerator(
     IWordsLayouter wordsLayouter,
     IWordsDrawer wordsDrawer,
     IWordsFileReader wordsFileReader,
     IEnumerable <IWordsProcessor> processors,
     IWordsCounter counter,
     IEnumerable <IImageSaver> savers)
 {
     this.wordsLayouter   = wordsLayouter;
     this.wordsDrawer     = wordsDrawer;
     this.wordsFileReader = wordsFileReader;
     this.processors      = processors;
     this.counter         = counter;
     this.savers          = savers;
 }
예제 #2
0
 public TagsCloudVisualiser(IWordsPreparer preparer, IWordsLayouter layouter, IImageRenderer renderer)
 {
     this.preparer = preparer;
     this.layouter = layouter;
     this.renderer = renderer;
 }