コード例 #1
0
ファイル: FileManager.cs プロジェクト: Helenga/LodCore
        public FileManager(FileStorageSettings fileStorageSettings, IImageResizer imageResizer)
        {
            Require.NotNull(fileStorageSettings, nameof(fileStorageSettings));

            _fileStorageSettings = fileStorageSettings;
            _imageResizer        = imageResizer;
            CreateFoldersIfNeeded();
        }
コード例 #2
0
        public FileManager(FileStorageSettings fileStorageSettings, IImageResizer imageResizer)
        {
            Require.NotNull(fileStorageSettings, nameof(fileStorageSettings));

            _fileStorageSettings = fileStorageSettings;
            _imageResizer = imageResizer;
            CreateFoldersIfNeeded();
        }
コード例 #3
0
 public ImageResizer(int lengthOfLongestSideOfResized, FileStorageSettings fileStorageSettings, ApplicationLocationSettings applicationLocationSettings)
 {
     _lengthOfLongestSideOfResized = lengthOfLongestSideOfResized;
     this._fileStorageSettings = fileStorageSettings;
     _applicationLocationSettings = applicationLocationSettings;
 }
コード例 #4
0
ファイル: ImageResizer.cs プロジェクト: Helenga/LodCore
 public ImageResizer(int lengthOfLongestSideOfResized, FileStorageSettings fileStorageSettings, ApplicationLocationSettings applicationLocationSettings)
 {
     _lengthOfLongestSideOfResized = lengthOfLongestSideOfResized;
     this._fileStorageSettings     = fileStorageSettings;
     _applicationLocationSettings  = applicationLocationSettings;
 }