예제 #1
0
 public IndexModel(
     IDocumentAppService documentAppService,
     IDocumentToHtmlConverterFactory documentToHtmlConverterFactory,
     IProjectAppService projectAppService)
 {
     _documentAppService             = documentAppService;
     _documentToHtmlConverterFactory = documentToHtmlConverterFactory;
     _projectAppService = projectAppService;
 }
예제 #2
0
 public IndexModel(
     IDocumentAppService documentAppService,
     IDocumentToHtmlConverterFactory documentToHtmlConverterFactory,
     IProjectAppService projectAppService,
     IOptions <DocsUrlOptions> options)
 {
     _documentAppService             = documentAppService;
     _documentToHtmlConverterFactory = documentToHtmlConverterFactory;
     _projectAppService = projectAppService;
     _options           = options.Value;
 }
예제 #3
0
        public IndexModel(
            IDocumentAppService documentAppService,
            IDocumentToHtmlConverterFactory documentToHtmlConverterFactory,
            IProjectAppService projectAppService,
            IOptions <DocsUiOptions> options)
        {
            ObjectMapperContext = typeof(DocsWebModule);

            _documentAppService             = documentAppService;
            _documentToHtmlConverterFactory = documentToHtmlConverterFactory;
            _projectAppService = projectAppService;
            _uiOptions         = options.Value;
        }
예제 #4
0
        public IndexModel(
            IDocumentAppService documentAppService,
            IDocumentToHtmlConverterFactory documentToHtmlConverterFactory,
            IProjectAppService projectAppService,
            IOptions <DocsUiOptions> options,
            IDocumentSectionRenderer documentSectionRenderer,
            IVersionHelper versionHelper)
        {
            ObjectMapperContext = typeof(DocsWebModule);

            _documentAppService             = documentAppService;
            _documentToHtmlConverterFactory = documentToHtmlConverterFactory;
            _projectAppService       = projectAppService;
            _documentSectionRenderer = documentSectionRenderer;
            _versionHelper           = versionHelper;
            _uiOptions = options.Value;
        }