コード例 #1
0
 public DocumentService(
     IDocumentRepository documentsRepository,
     IDocumentContentService documentContentService,
     IDocumentCollaboratorService collaboratorsService,
     IMappingEngine mapper)
 {
     _documentsRepository    = documentsRepository;
     _documentContentService = documentContentService;
     _collaboratorsService   = collaboratorsService;
     _mapper = mapper;
 }
コード例 #2
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="collaboratorService">Collaborators services.</param>
 /// <param name="contentService">Documents content service.</param>
 public DocumentsHub(IDocumentCollaboratorService collaboratorService, IDocumentContentService contentService)
 {
     _collaboratorService = collaboratorService;
     _contentService      = contentService;
 }
コード例 #3
0
 public DocumentContentController(IDocumentService documentService, IDocumentContentService contentService)
 {
     _documentService = documentService;
     _contentService  = contentService;
 }