Переделывание демки без сериализатора пока

This commit is contained in:
2025-03-01 16:53:00 +03:00
parent 8f891ff59e
commit b5b766342e
7 changed files with 22 additions and 20 deletions
+3
View File
@@ -160,6 +160,9 @@ namespace mROA.Cbor
private void WriteObject(object obj, CborWriter writer, IEndPointContext? context)
{
var type = obj.GetType();
var properties = FilterProperties(type.GetProperties());
var values = properties.Select(property => property.GetValue(obj)).ToList();
WriteList(values, writer, context);