コード例 #1
0
 public Visualizer(ICanvas canvas, IPathCreator pathCreator, ITagsCreator tagsCreator, IBackgroundPainter backgroundPainter)
 {
     this.canvas            = canvas;
     creator                = pathCreator;
     this.tagsCreator       = tagsCreator;
     this.backgroundPainter = backgroundPainter;
 }
コード例 #2
0
        public static string CreateSpecificPath(string specificValue, PathCreationOptions?options,
                                                IPathCreator pathCreator)
        {
            pathCreator.ThrowIfNull(nameof(pathCreator));

            return(pathCreator.CreateSpecificPath(specificValue, options));
        }
コード例 #3
0
        public LocalBlobClient(IStorageProvider storageProvider, IPathCreator pathCreator)
        {
            if (storageProvider == null) throw new ArgumentNullException("storageProvider");
            if (pathCreator == null) throw new ArgumentNullException("pathCreator");

            _storageProvider = storageProvider;
            _pathCreator = pathCreator;
        }
コード例 #4
0
 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;
 }
コード例 #5
0
 public LiteratureTextParser(IPathCreator creator, ITextReader reader)
 {
     this.creator = creator;
     this.reader  = reader;
 }
コード例 #6
0
 public FileSystemController(IPathCreator pathCreator, IStorageProvider storages)
 {
     _client = new LocalBlobClient(storages, pathCreator);
 }