public void OnServerRequest <TIn1, TIn2, TIn3, TIn4>(string methodName, Func <TIn1, TIn2, TIn3, TIn4, object> handler) { ServerRequestHandlers.TryAdd(methodName, handler); }
public void OnServerRequest(string methodName, Delegate handler) { ServerRequestHandlers.TryAdd(methodName, handler); }