1
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user