Демка с чатом работает
This commit is contained in:
@@ -62,6 +62,13 @@ namespace mROA.Cbor
|
||||
|
||||
if (nonCasted is PreParsedValue preParsed)
|
||||
return preParsed.ToObject(type, context);
|
||||
|
||||
|
||||
if (type == typeof(Guid))
|
||||
{
|
||||
return new Guid((byte[])nonCasted);
|
||||
}
|
||||
|
||||
return Convert.ChangeType(nonCasted, type);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user