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

This commit is contained in:
2025-02-05 15:08:38 +03:00
parent 2c2f554302
commit ed4e97e40f
5 changed files with 94 additions and 0 deletions
+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();