templates

This commit is contained in:
ahmed committed 2026-01-26 19:36:06 +03:00
1 parent f8d7630c21
commit c807cadff3
9 files changed
+74 -19

No files matched your search

+1 -1
View File
@@ -174,7 +174,7 @@ public class DistributedServer : NetworkServer<DistributedConnection>, IResource
public DistributedServer MapCall(string call, Delegate handler)
{
var ft = FunctionTemplate.MakeFunctionTemplate(null, handler.Method);
var ft = FunctionTemplate.MakeFunctionTemplate(null, handler.Method, 0, call, null);
Calls.Add(call, new CallInfo() { Delegate = handler, Template = ft });
return this;
}