public TagsCloudCreator(TextProcessor textProcessor, IImageBuilder imageBuilder, IServiceFactory <IImageSaver> imageSaverFactory, IServiceFactory <ITagsGenerator> tagsGeneratorFactory) { this.tagsGeneratorFactory = tagsGeneratorFactory; this.textProcessor = textProcessor; this.imageSaverFactory = imageSaverFactory; this.imageBuilder = imageBuilder; }
/// <summary> /// /// </summary> /// <param name="imageValidation"></param> /// <param name="imageBuilder"></param> /// <param name="attachmentManager"></param> /// <param name="videoManager"></param> /// <param name="videoValidator"></param> public FileManager(IImageValidator imageValidation, IImageBuilder imageBuilder, IAttachmentManager attachmentManager, IVideoManager videoManager, IVideoValidator videoValidator, IConfigurationManager configurationManager) { _imageValidation = imageValidation; _imageBuilder = imageBuilder; _attachmentManager = attachmentManager; _videoManager = videoManager; _videoValidator = videoValidator; _configurationManager = configurationManager; }
public ConsoleUi(IReader[] readers, IImageBuilder tagCloudImageCreator, ILayoutAlgorithm layoutAlgorithm, IImageSaver imageSaver, Filter filter, WordConverter wordConverter) { this.filter = filter; this.wordConverter = wordConverter; this.readers = readers; this.tagCloudImageCreator = tagCloudImageCreator; this.imageSaver = imageSaver; this.layoutAlgorithm = layoutAlgorithm; }
public ApplicationCore(ReaderFinder readerFinder, IImageBuilder tagCloudImageBuilder, ILayoutAlgorithm layoutAlgorithm, IImageSaver imageSaver, Filter filter, WordConverter wordConverter) { this.filter = filter; this.wordConverter = wordConverter; this.readerFinder = readerFinder; this.tagCloudImageBuilder = tagCloudImageBuilder; this.imageSaver = imageSaver; this.layoutAlgorithm = layoutAlgorithm; }
public void ConstructImage(IImageBuilder imgBuilder) { // calls the appropriate methods of the builder. Additional logic can be placed here depending on the type if builder imgBuilder.GenerateSopClass(); imgBuilder.SetTheModality(); }
public SeoBaseBuilder(IImageBuilder imageBuilder) { _imageBuilder = imageBuilder; }
public ImageProvider(IImagesRepository imagesRepository, IImageBuilder imageBuilder) { this.imagesRepository = imagesRepository; this.imageBuilder = imageBuilder; }
public HighlightBlockBuilder(IImageBuilder imageBuilder) { _imageBuilder = imageBuilder; }
private void CreateBuilder() { if (index == LBEffects.SelectedIndex) return; index = LBEffects.SelectedIndex; if (index == -1) return; builderobj = (IImageBuilder)dt.Rows[index][2]; builderobj.SetSourceImage(Source); option = (ImageOption)dt.Rows[index][3]; grid.SelectedObject = option; }
/// <summary> /// /// </summary> /// <param name="processable"></param> /// <param name="sourcePath"></param> /// <param name="savePath"></param> /// <returns></returns> public static TryResult ProcessBitmap(IImageBuilder processable, string sourcePath, string savePath) { if (processable == null) return false; if (!File.Exists(sourcePath)) return false; try { processable.SetSourceImage(sourcePath); var image = processable.ProcessBitmap(); image.Save(savePath); } catch (Exception ex) { return ex; } return true; }
public SiteHeaderBuilder(IImageBuilder imageBuilder, IUmbracoContextFactory umbracoContextFactory) { _imageBuilder = imageBuilder; _umbracoContextFactory = umbracoContextFactory; }
public JobRunner(IDocker docker, IImageBuilder imageBuilder) { this.docker = docker; this.imageBuilder = imageBuilder; }
private void CreateBuilder() { builderobj = comboBox1.SelectedValue as IImageBuilder; option = builderobj.CreateOption(); grid.SelectedObject = option; }
public ImageBuffer(IBitmapScanner bitmapScanner, IImageBuilder imageBuilder) { _scanner = image => bitmapScanner.Scan(image); _imageBuilder = imageBuilder; }