Skip to content

Commit

Permalink
Merge pull request #19145 from abpframework/liangshiwei/cli
Browse files Browse the repository at this point in the history
Fix DTO code generation for C# static proxy
  • Loading branch information
maliming authored Feb 28, 2024
2 parents 01b98d3 + 879e08b commit f16c601
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -553,11 +553,16 @@ private static string GetRealTypeName(string typeName, List<string> usingNamespa
var s2 = s1[i].Split(",");
for (var x = 0; x < s2.Length; x++)
{
type.Append(s2[x].Split(".").Last());
var s3 = s2[x].Split(".").Last();
type.Append(s3);
if (x < s2.Length - 1)
{
type.Append(", ");
}
else if(!s3.Contains(">"))
{
type.Append("<");
}
}
}
else
Expand Down

0 comments on commit f16c601

Please sign in to comment.