public PointController(IPointService service, IEdgeService edgeService, IMainAlgoritmService algoritmService, IMapper mapper) { this.pointService = service; this.edgeService = edgeService; this.algoritmService = algoritmService; this.mapper = mapper; }
public override async Task <IClientContext> Build() { var newHeader = string.Join(",", _attributes.Select((e) => e.Key + "=" + HttpUtility.UrlEncode(string.Join(",", e.Value))).OrderBy(u => u)); if (!newHeader.Equals(_xHeader)) { _xHeader = newHeader; _repository.NotReady(); if (_currentEdgeService != null && _currentEdgeService.IsRequiresReplacementOnHeaderChange) { _currentEdgeService.Close(); _currentEdgeService = null; } } if (_currentEdgeService == null) { _currentEdgeService = _edgeServiceSource(_repository, _config); } await _currentEdgeService.ContextChange(_xHeader); return(this); }
public GraphService( INodeService <TNodeData, TNodeId> nodeService, IEdgeService <TEdgeData, TEdgeId, TNodeId> edgeService ) { _nodeService = nodeService; _edgeService = edgeService; }
public Cube3DService(IGenericRepository <Cube3D> cube3DRepository, IPoint3DService point3DService, IEdgeService edgeService, IAppLogger <Cube3DService> logger) { _cube3DRepository = cube3DRepository ?? throw new ArgumentNullException(nameof(cube3DRepository)); _point3DService = point3DService ?? throw new ArgumentNullException(nameof(point3DService)); _edgeService = edgeService ?? throw new ArgumentNullException(nameof(edgeService)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public JobDependencyLocator( IEdgeService edgeService, ISchedulerService schedulerService, IPublisherApiService publisherApiService, Module module, CancellationTokenSource cancellationTokenSource) { EdgeService = edgeService; SchedulerService = schedulerService; PublisherApiService = publisherApiService; Module = module; CancellationTokenSource = cancellationTokenSource; }
public ClientEvalFeatureContext(IFeatureRepositoryContext repository, IFeatureHubConfig config, EdgeServiceSource edgeServiceSource) : base(repository, config) { _edgeService = edgeServiceSource(repository, config); _weCreatedSources = false; }
public EdgesController(IEdgeService <Transaction, string, string> edgeService) { _edgeService = edgeService; }
public EdgeController(IEdgeService eService) { this.eService = eService; }
public SchedulerService(IEdgeService edgeService) { _edgeService = edgeService; }
public GraphService(IEdgeService edgeService) { EdgeService = edgeService; }