Beispiel #1
0
 public void AddTargetForMethod(string method, Server.EndpointHandler target)
 {
     targets[method] = target;
 }
Beispiel #2
0
 public HandlerInfo(Server.EndpointHandler defaultTarget)
 {
     targets     = new Dictionary <string, Server.EndpointHandler>();
     targets[""] = defaultTarget;
 }