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; }
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; }