public DocumentController(IHostingEnvironment hostingEnvironment, IDocumentService documentService, IBookmarkService bookmarkService, ITableUtil tableUtil, ITextUtil textUtil, DocumentMapper documentMapper, BookmarkMapper bookmarkMapper, IDocumentCore documentCore, IWordBookmarkParser bookmarkParser) { _hostingEnvironment = hostingEnvironment; _documentService = documentService; _bookmarkService = bookmarkService; _tableUtil = tableUtil; _textUtil = textUtil; _documentMapper = documentMapper; _bookmarkMapper = bookmarkMapper; _documentCore = documentCore; _bookmarkParser = bookmarkParser; }
public static void SetTableUtil(ITableUtil util) { IUtil = util; }