1
This commit is contained in:
@@ -92,6 +92,11 @@ namespace BITKit
|
||||
|
||||
var type = BITSharp.GetTypeFromFullName(typeName);
|
||||
|
||||
if (type is null)
|
||||
{
|
||||
throw new Exception($"反序列化时未找到类型:{typeName}");
|
||||
}
|
||||
|
||||
var instance = System.Activator.CreateInstance(type);
|
||||
|
||||
if (instance is IBinarySerialize serialize)
|
||||
|
Reference in New Issue
Block a user