добавлены не загруженные тесты

This commit is contained in:
micialware committed 2025-02-05 15:08:38 +03:00
1 parent 2c2f554302
commit ed4e97e40f
5 files changed
+94

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
using System.Net;
using Example.Shared;
using mROA.Codegen;
using mROA.Implementation;
using mROA.Implementation.Bootstrap;
var bootstrap = new FullMixBuilder();
bootstrap.UseJsonSerialisation();
bootstrap.UseNetworkGateway(new IPEndPoint(IPAddress.Loopback, 4567));
bootstrap.UseStreamInteraction();
bootstrap.UseBasicExecution();
bootstrap.UseCollectableContextRepository(typeof(IPrinterFactory).Assembly);
bootstrap.SetupMethodsRepository(new CoCodegenMethodRepository());
bootstrap.Build();
var gateway = bootstrap.GetModule<IGatewayModule>();
gateway.Run();