public Visualizer(ICanvas canvas, IPathCreator pathCreator, ITagsCreator tagsCreator, IBackgroundPainter backgroundPainter) { this.canvas = canvas; creator = pathCreator; this.tagsCreator = tagsCreator; this.backgroundPainter = backgroundPainter; }
public static string CreateSpecificPath(string specificValue, PathCreationOptions?options, IPathCreator pathCreator) { pathCreator.ThrowIfNull(nameof(pathCreator)); return(pathCreator.CreateSpecificPath(specificValue, options)); }
public LocalBlobClient(IStorageProvider storageProvider, IPathCreator pathCreator) { if (storageProvider == null) throw new ArgumentNullException("storageProvider"); if (pathCreator == null) throw new ArgumentNullException("pathCreator"); _storageProvider = storageProvider; _pathCreator = pathCreator; }
public Controller(IExcelPhotoURLGetterService excelPhotoURLGetter, IFileValidator fileValidator, IPathCreator pathCreator, IImageDownloaderService imageDownloaderService, IResizeImageService resizeImageService, IMongoDBService mongoDBService) { this.excelPhotoURLGetter = excelPhotoURLGetter; this.fileValidator = fileValidator; this.pathCreator = pathCreator; this.imageDownloaderService = imageDownloaderService; this.resizeImageService = resizeImageService; this.mongoDBService = mongoDBService; }
public LiteratureTextParser(IPathCreator creator, ITextReader reader) { this.creator = creator; this.reader = reader; }
public FileSystemController(IPathCreator pathCreator, IStorageProvider storages) { _client = new LocalBlobClient(storages, pathCreator); }