public DocumentsService(IEuCasesContextFactory factory, IPathsProvider pathsProvider) { this.dbHelper = new DocumentsServiceDbHelper(factory, pathsProvider); AkomaNtosoPreProcessor.ReThrowExceptions = true; AkomaNtosoPreProcessor.RemoveHiddenElements = true; AkomaNtosoPreProcessor.ImagePath = "static_file"; AkomaNtosoPreProcessor.IsSmeData = true; this.pathsProvider = pathsProvider; }
public Tools() { var cs = @"Server=********;Database=*********;User Id=*********;Password=**********; Timeout=300"; this.factory = new EucasesContextFactory(new EuCasesContextFactorySettings(cs)); this.pathsProvider = new PathsProvider() { BasePath = AppDomain.CurrentDomain.BaseDirectory }; }
public ProblemPluginFacadeProvider( IPathsProvider pathsProvider, IAssemblyLoader assemblyLoader, IProblemPluginFacadeFactory problemPluginFacadeFactory ) { _pathsProvider = pathsProvider; _assemblyLoader = assemblyLoader; _problemPluginFacadeFactory = problemPluginFacadeFactory; }
public SubtaskOperationsController( IResourceService <DistributedNode, Guid> distributedNodeResourceService, IResourceService <SubtaskInProgress> subtaskInProgressResourceService, DistributedComputingDbContext dbContext, IGetNextSubtaskToComputeService getNextSubtaskToComputeService, IPathsProvider pathsProvider ) { _distributedNodeResourceService = distributedNodeResourceService; _subtaskInProgressResourceService = subtaskInProgressResourceService; _dbContext = dbContext; _getNextSubtaskToComputeService = getNextSubtaskToComputeService; _pathsProvider = pathsProvider; }
public DistributedTaskDefinitionsController( IJsonApiContext jsonApiContext, IResourceService <DistributedTaskDefinition> taskDefinitionResourceService, ILoggerFactory loggerFactory, IPathsProvider pathsProvider, IProblemPluginFacadeProvider problemPluginFacadeProvider, IFileStorage fileStorage, IPackager packager, IJsonApiResponseFactory jsonApiResponseFactory ) : base(jsonApiContext, taskDefinitionResourceService, loggerFactory) { _taskDefinitionResourceService = taskDefinitionResourceService; _pathsProvider = pathsProvider; _problemPluginFacadeProvider = problemPluginFacadeProvider; _fileStorage = fileStorage; _packager = packager; _jsonApiResponseFactory = jsonApiResponseFactory; _logger = loggerFactory.CreateLogger <DistributedTaskDefinitionsController>(); }
public DocumentsServiceDbHelper(IEuCasesContextFactory factory, IPathsProvider pathsProvider) { this.factory = factory; this.pathsProvider = pathsProvider; }
public ValuesService(IPathsProvider pathsProvider) { this.basePath = pathsProvider.PdfPath; }
public EmailFileService(IPathsProvider paths) { _paths = paths; }
public SortService(IEuCasesContextFactory factory, IPathsProvider pathsProvider) { this.factory = factory; this.pathsProvider = pathsProvider; this.FillSortGroups(); }