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

            return(new ServerServiceDefinition[] {
                QuantumTunnelService.BindService(service)
            });
        }
예제 #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)
            });
        }