This commit is contained in:
CortexCore
2025-03-24 14:42:40 +08:00
parent 18239a5ae4
commit 9845d20f7f
99 changed files with 5418 additions and 5512 deletions

View File

@@ -19,7 +19,10 @@ namespace BITKit
var type = typeof(T);
if (type == typeof(string))
{
_value = string.Empty.As<T>();
if (string.Empty is T t)
{
_value = t;
}
return;
}
if(type.IsAbstract || type.IsInterface)return;