public AddMainAttachToRequestHandler(
     IAttachmentHelper attachmentHelper,
     IFileStorage fileStorage)
 {
     _attachmentHelper = attachmentHelper;
     _fileStorage      = fileStorage;
 }
示例#2
0
 public CommandHandler(NiisWebContext context, IFileStorage fileStorage, IAttachmentHelper attachmentHelper,
                       IMapper mapper)
 {
     _context          = context;
     _fileStorage      = fileStorage;
     _attachmentHelper = attachmentHelper;
     _mapper           = mapper;
     _tempFolderPath   = Path.GetTempPath();
 }
示例#3
0
 public DocumentsController(NiisWebContext context,
                            IDocumentGeneratorFactory templateGeneratorFactory,
                            ITemplateUserInputChecker templateUserInputChecker, IFileStorage fileStorage,
                            IAttachmentHelper attachmentHelper,
                            IMediator mediator)
 {
     _context     = context;
     _fileStorage = fileStorage;
     _mediator    = mediator;
 }
示例#4
0
 public DocumentsController(
     IExecutor executor,
     IMapper mapper,
     IDocumentGeneratorFactory templateGeneratorFactory,
     ITemplateUserInputChecker templateUserInputChecker,
     IFileStorage fileStorage,
     IAttachmentHelper attachmentHelper,
     IDocumentsCompare documentsCompare,
     IFileConverter fileConverter,
     ILkIntergarionHelper lkIntergarionHelper)
 {
     _executor = executor;
     _mapper   = mapper;
     _templateGeneratorFactory = templateGeneratorFactory;
     _templateUserInputChecker = templateUserInputChecker;
     _documentsCompare         = documentsCompare;
     _fileConverter            = fileConverter;
     _fileStorage         = fileStorage;
     _lkIntergarionHelper = lkIntergarionHelper;
 }