Local endpoint added successful and negative ownerId implemented

This commit is contained in:
micialware committed 2025-05-05 16:30:23 +03:00
1 parent cc5f82c7e7
commit ff4c3ecee3
27 files changed
+110 -114

No files matched your search

+1 -3
View File
@@ -216,10 +216,8 @@ namespace mROA.Cbor
var generic = obj.GetType().GetInterfaces().FirstOrDefault(i => typeof(IShared).IsAssignableFrom(i));
var sharedShell = typeof(SharedObjectShellShell<>).MakeGenericType(generic);
var so =
Activator.CreateInstance(sharedShell, obj) as
Activator.CreateInstance(sharedShell, obj, context) as
ISharedObjectShell;
if (context != null)
so.EndPointContext = context;
writer.WriteStartArray(1);
writer.WriteUInt64(so.Identifier.Flat);