Доработки и внедрение cbor сериализации

This commit is contained in:
micialware committed 2025-02-27 00:12:52 +03:00
1 parent b4ccfdd51c
commit 46732da780
12 files changed
+213 -64

No files matched your search

+7
View File
@@ -21,6 +21,7 @@ public class CborTest
IntValue = 123,
DoubleValue = 3.14159,
StringValue = "abc",
EnumValue = TestEnum.X,
CollectionElements =
[
_basicCollectionElement,
@@ -69,6 +70,7 @@ public class CborTest
public int IntValue { get; set; }
public double DoubleValue { get; set; }
public string StringValue { get; set; }
public TestEnum EnumValue { get; set; }
public int[] IntArray { get; set; }
public List<BasicCollectionElement> CollectionElements { get; set; }
@@ -115,4 +117,9 @@ public class CborTest
return HashCode.Combine(A, B, C);
}
}
public enum TestEnum
{
X = -5, Y, Z
}
}