mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
Static Calling
This commit is contained in:
@ -176,5 +176,11 @@ public class DistributedServer : NetworkServer<DistributedConnection>, IResource
|
||||
|
||||
}
|
||||
|
||||
public KeyList<string, Delegate> Calls { get; } = new KeyList<string, Delegate>();
|
||||
|
||||
public void MapCall(string call, Delegate handler)
|
||||
{
|
||||
Calls.Add(call, handler);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user