2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2022-03-09 21:55:30 +03:00
parent 530df018ec
commit 9a174f406f
106 changed files with 5166 additions and 4398 deletions

21
Test.Client/Program.cs Normal file
View File

@ -0,0 +1,21 @@

using Esiur.Resource;
namespace Test.Client;
public class App
{
static async Task Main(string[] args)
{
var remote = await Warehouse.Get<MyService>("iip://localhost/mem/service");
var (i, s) = await remote.Tuple2(22, "ZZZZ");
remote.ArrayEvent += (x) => Console.WriteLine(x);
remote.StringEvent += (x)=>Console.WriteLine(x);
await remote.InvokeEvents("Client");
Console.WriteLine(remote);
}
}