コード例 #1
0
 public AdminViewProvider(
     IFileOptionsFactory fileOptionsFactory,
     IFileInfoStore <FileInfo> fileInfoStore,
     IContextFacade contextFacade,
     IFileStore <File> fileStore)
 {
     _fileOptionsFactory = fileOptionsFactory;
     _fileInfoStore      = fileInfoStore;
     _contextFacade      = contextFacade;
     _fileStore          = fileStore;
 }
コード例 #2
0
        public FileValidator(
            IHtmlLocalizer htmlLocalizer,
            IFileInfoStore <Models.FileInfo> fileInfoStore,
            IFileOptionsFactory fileOptionsFactory,
            IContextFacade contextFacade)
        {
            _fileOptionsFactory = fileOptionsFactory;
            _fileInfoStore      = fileInfoStore;
            _contextFacade      = contextFacade;

            T = htmlLocalizer;
        }
コード例 #3
0
 public EditEntityFilesViewComponent(
     IEntityFileStore <EntityFile> entityAttachmentStore,
     IFileInfoStore <FileInfo> attachmentInfoStore,
     IFileOptionsFactory attachmentOptionsFactory,
     IHttpContextAccessor httpContextAccessor,
     IFileStore <File> attachmentStore)
 {
     _fileOptionsFactory    = attachmentOptionsFactory;
     _entityAttachmentStore = entityAttachmentStore;
     _fileInfoStore         = attachmentInfoStore;
     _httpContextAccessor   = httpContextAccessor;
     _fileStore             = attachmentStore;
 }