Esempio n. 1
0
        /// <inheritdoc/>
        public IEnumerable <ServerServiceDefinition> BindServices()
        {
            var service = new QuantumTunnelServiceImplementation(_eventHorizon, _serializer, _executionContextManager, _fetchUnprocessedCommits, _logger);

            return(new ServerServiceDefinition[] {
                QuantumTunnelService.BindService(service)
            });
        }
Esempio n. 2
0
        /// <inheritdoc/>
        public IEnumerable <Service> BindServices()
        {
            var service = new QuantumTunnelServiceImplementation(_eventHorizon, _serializer, _logger);

            return(new Service[]
            {
                new Service(service, QuantumTunnelService.BindService(service), QuantumTunnelService.Descriptor)
            });
        }