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