public GetController(IEndpointService endpointService, IParametersProcessorService parametersProcessorService,
                      ISparqlFactoryService sparqlFactoryService, IResultFormatterService resultFormatterService,
                      INamespaceFactoryService namespaceFactoryService, IMapper mapper)
 {
     _endpointService            = endpointService;
     _parametersProcessorService = parametersProcessorService;
     _sparqlFactoryService       = sparqlFactoryService;
     _resultFormatterService     = resultFormatterService;
     _namespaceFactoryService    = namespaceFactoryService;
     _mapper = mapper;
 }
 public EndpointService(IDataAccess dataAccess, INamespaceFactoryService namespaceFactoryService)
 {
     _namespaceFactoryService = namespaceFactoryService;
     _endpoints = new ConcurrentDictionary <string, Endpoint>(dataAccess.GetEndpointsConfiguration());
     AddEndpointsNamespaces(_endpoints.Select(x => x.Value.Namespaces));
 }
Esempio n. 3
0
 public SparqlFactoryService(INamespaceFactoryService namespaceFactoryService, IEndpointService endpointService)
 {
     _namespaceFactoryService = namespaceFactoryService;
     _endpointService         = endpointService;
 }
 public ResultFormatterService(INamespaceFactoryService namespaceFactoryService)
 {
     _namespaceFactoryService = namespaceFactoryService;
 }