Exemple #1
0
 public StreamingController(
     IAttachmentStore <Attachment> attachmentStore,
     ILogger <StreamingController> logger)
 {
     _attachmentStore = attachmentStore;
     _logger          = logger;
 }
Exemple #2
0
 public PreviewEntityAttachmentsViewComponent(
     IEntityAttachmentStore <EntityAttachment> entityAttachmentStore,
     IAttachmentStore <Attachment> attachmentStore)
 {
     _entityAttachmentStore = entityAttachmentStore;
     _attachmentStore       = attachmentStore;
 }
 public AttachmentController(
     IEntityAttachmentStore <EntityAttachment> entityAttachmentStore,
     IAttachmentStore <Attachment> attachmentStore,
     IAuthorizationService authorizationService,
     IEntityStore <Article> entityStore)
 {
     _entityAttachmentStore = entityAttachmentStore;
     _authorizationService  = authorizationService;
     _attachmentStore       = attachmentStore;
     _entityStore           = entityStore;
 }
Exemple #4
0
 public ArticleViewProvider(
     IEntityAttachmentStore <EntityAttachment> entityAttachmentStore,
     IAttachmentStore <Attachment> attachmentStore,
     IAuthorizationService authorizationService,
     IHttpContextAccessor httpContextAccessor,
     IEntityStore <Article> entityStore,
     IKeyGenerator keyGenerator,
     IContextFacade contextFacade)
 {
     _request = httpContextAccessor.HttpContext.Request;
     _entityAttachmentStore = entityAttachmentStore;
     _authorizationService  = authorizationService;
     _attachmentStore       = attachmentStore;
     _contextFacade         = contextFacade;
     _keyGenerator          = keyGenerator;
     _entityStore           = entityStore;
 }
Exemple #5
0
 public GetAttachmentListViewComponent(IAttachmentStore <Attachment> metricStore)
 {
     _metricStore = metricStore;
 }