public GroupdocsViewerApiController()
 {
     _rootPathFinder        = new RootPathFinder();
     _applicationPathFinder = new ApplicationPathFinder();
     _printableHtmlCreator  = new PrintableHtmlCreator();
     _helper      = new Helper();
     _coreHandler = new CoreHandler();
 }
 public GroupdocsViewerApiController()
 {
     _rootPathFinder = new RootPathFinder();
     _applicationPathFinder = new ApplicationPathFinder();
     _printableHtmlCreator = new PrintableHtmlCreator();
     _helper = new Helper();
     _coreHandler = new CoreHandler();
 }
示例#3
0
        public PrintableHtmlCreator()
        {
            _urlsCreator     = new UrlsCreator();
            _rootPathFinder  = new RootPathFinder();
            _rootStoragePath = _rootPathFinder.GetRootStoragePath();
            _cachePath       = _rootPathFinder.GetCachePath();

            _viewingServiceCreator = new ViewingServiceCreator();
            _viewingService        = _viewingServiceCreator.GetViewingService(_rootStoragePath, _cachePath);
        }
        public PrintableHtmlCreator()
        {
            _urlsCreator = new UrlsCreator();
            _rootPathFinder = new RootPathFinder();
            _rootStoragePath = _rootPathFinder.GetRootStoragePath();
            _cachePath = _rootPathFinder.GetCachePath();

            _viewingServiceCreator = new ViewingServiceCreator();
            _viewingService = _viewingServiceCreator.GetViewingService(_rootStoragePath, _cachePath);

        }
 public GroupdocsViewerController(IRootPathFinder rootPathFinder,
                                 IApplicationPathFinder applicationPathFinder,
                                 IPrintableHtmlCreator printableHtmlCreator,
                                 IHelper helper,
                                 ICoreHandler coreHandler)
 {
     _rootPathFinder = rootPathFinder;
     _applicationPathFinder = applicationPathFinder;
     _printableHtmlCreator = printableHtmlCreator;
     _helper = helper;
     _coreHandler = coreHandler;
 }
 public GroupdocsViewerApiController(IRootPathFinder rootPathFinder,
                                     IApplicationPathFinder applicationPathFinder,
                                     IPrintableHtmlCreator printableHtmlCreator,
                                     IHelper helper,
                                     ICoreHandler coreHandler)
 {
     _rootPathFinder        = rootPathFinder;
     _applicationPathFinder = applicationPathFinder;
     _printableHtmlCreator  = printableHtmlCreator;
     _helper      = helper;
     _coreHandler = coreHandler;
 }
示例#7
0
 static Viewer()
 {
     _applicationPathFinder = new ApplicationPathFinder();
     _rootPathFinder        = new RootPathFinder();
 }
 static Viewer()
 {
     _applicationPathFinder = new ApplicationPathFinder();
     _rootPathFinder = new RootPathFinder();
 }
示例#9
0
 public Helper()
 {
     _rootPathFinder = new RootPathFinder();
     _logger         = new Logger(_rootPathFinder.GetLogFilePath());
 }
 public Helper()
 {
     _rootPathFinder = new RootPathFinder();
     _logger = new Logger(_rootPathFinder.GetLogFilePath());
 }