реализован производитель модулей сериализации

This commit is contained in:
2025-02-14 20:24:04 +03:00
parent c370142e7a
commit b4d4837f9d
5 changed files with 56 additions and 4 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ using mROA.Codegen;
using mROA.Implementation;
using mROA.Implementation.Backend;
using mROA.Implementation.Bootstrap;
using mROA.Implementation.Frontend;
var builder = new FullMixBuilder();
@@ -14,7 +15,7 @@ builder.UseStreamInteraction();
builder.UseBasicExecution();
builder.UseCollectableContextRepository(typeof(PrinterFactory).Assembly);
builder.SetupMethodsRepository(new CoCodegenMethodRepository());
builder.Modules.Add(new StaticSerialisationModuleProducer());
builder.Modules.Add(new CreativeSerializationModuleProducer([], typeof(JsonFrontendSerialisationModule)));
builder.Build();