public override void AddMethod <TRequest, TResponse>( Method <TRequest, TResponse> method, DuplexStreamingServerMethod <TRequest, TResponse> handler) { callHandlers.Add(method.FullName, ServerCalls.DuplexStreamingCall(method, handler)); }
public override void AddMethod <TRequest, TResponse>( Method <TRequest, TResponse> method, UnaryServerMethod <TRequest, TResponse> handler) { callHandlers.Add(method.FullName, ServerCalls.UnaryCall(method, handler)); }