Exemple #1
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 #3
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;
 }
 public EntityAttachmentsViewComponent(
     IEntityAttachmentStore <EntityAttachment> entityAttachmentStore)
 {
     _entityAttachmentStore = entityAttachmentStore;
 }