Including tools into codegen

This commit is contained in:
2025-06-27 16:12:38 +03:00
parent 745def1365
commit f31ddf1604
22 changed files with 78 additions and 574 deletions
@@ -55,8 +55,11 @@ namespace mROA.Implementation
var representationModule =
_representationProducer.Produce(context.OwnerId);
_producedRemoteEndpoints.Add((Activator.CreateInstance(RemoteTypes[type], -1,
representationModule, context) as RemoteObjectBase)!);
var instance = Activator.CreateInstance(RemoteTypes[type], -1, representationModule, context);
var remoteObjectBase = (RemoteObjectBase)instance;
_producedRemoteEndpoints.Add(remoteObjectBase);
return _producedRemoteEndpoints.Last();
}