2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-26 21:13:13 +00:00

Runtime types

This commit is contained in:
2022-06-16 04:42:33 +03:00
parent f5e61d4b86
commit 26709a959c
6 changed files with 69 additions and 20 deletions

View File

@ -149,6 +149,14 @@ public partial class MyService
return new Random().NextDouble();
}
[Public] public AsyncReply<List<Map<int, string?>?>> AsyncHello()
{
var rt = new List<Map<int, string?>?>();
rt.Add(new Map<int, string?>() { [1] = "SSSSS", [2] = null });
return new AsyncReply<List<Map<int, string?>?>>(rt);
}
[Public]
public void Connection(object a1, int a2, DistributedConnection a3) =>
Console.WriteLine($"VoidArgs {a1} {a2} {a3}");