mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Fixed a missing dot in namespaces in generated code
This commit is contained in:
parent
8055ab3162
commit
4cb286aab1
|
|
@ -465,7 +465,7 @@ namespace TeleSharp.Generator
|
||||||
public static string GetNameSpace(string type, string targetns)
|
public static string GetNameSpace(string type, string targetns)
|
||||||
{
|
{
|
||||||
if (type.IndexOf('.') != -1)
|
if (type.IndexOf('.') != -1)
|
||||||
return targetns + FormatName(type.Split('.')[0]);
|
return targetns + "." + FormatName(type.Split('.')[0]);
|
||||||
else
|
else
|
||||||
return targetns;
|
return targetns;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue