public OcrDependencyManager(AppConfigManager appConfigManager, IUserConfigManager userConfigManager) { this.appConfigManager = appConfigManager; this.userConfigManager = userConfigManager; ExternalComponent.InitBasePath(appConfigManager); Components = new OcrComponents(); Downloads = new OcrDownloads(); }
public GhostscriptPdfRenderer(IComponentInstallPrompt componentInstallPrompt, AppConfigManager appConfigManager, IErrorOutput errorOutput) { this.componentInstallPrompt = componentInstallPrompt; this.appConfigManager = appConfigManager; this.errorOutput = errorOutput; gsLibBytes = new Lazy <byte[]>(() => File.ReadAllBytes(Dependencies.GhostscriptComponent.Path)); ExternalComponent.InitBasePath(appConfigManager); }
public OcrDependencyManager(AppConfigManager appConfigManager) { ExternalComponent.InitBasePath(appConfigManager); Components = new OcrComponents(); Downloads = new OcrDownloads(); }