public DuplexStreamingServerCallHandler(
     DuplexStreamingServerMethodInvoker <TService, TRequest, TResponse> invoker,
     ILoggerFactory loggerFactory)
     : base(invoker, loggerFactory)
 {
     _invoker = invoker;
 }
        public DuplexStreamingServerCallHandler <TService, TRequest, TResponse> CreateDuplexStreaming <TRequest, TResponse>(Method <TRequest, TResponse> method, DuplexStreamingServerMethod <TService, TRequest, TResponse> invoker)
            where TRequest : class
            where TResponse : class
        {
            var options       = CreateMethodOptions();
            var methodInvoker = new DuplexStreamingServerMethodInvoker <TService, TRequest, TResponse>(invoker, method, options, _serviceActivator);

            return(new DuplexStreamingServerCallHandler <TService, TRequest, TResponse>(methodInvoker, _loggerFactory));
        }