2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2020-05-22 14:32:28 +03:00
parent 5991cec92d
commit cca00ca97e
4 changed files with 253 additions and 132 deletions

View File

@ -1200,7 +1200,7 @@ namespace Esyur.Net.IIP
return;
}
if (rt is System.Collections.IEnumerable && !(rt is Array || rt is Structure))
if (rt is System.Collections.IEnumerable && !(rt is Array || rt is Structure || rt is string))
{
var enu = rt as System.Collections.IEnumerable;
@ -1361,7 +1361,7 @@ namespace Esyur.Net.IIP
return;
}
if (rt is System.Collections.IEnumerable && !(rt is Array))
if (rt is System.Collections.IEnumerable && !(rt is Array || rt is Structure || rt is string))
{
var enu = rt as System.Collections.IEnumerable;