CodeWriter.ShortTypeName method (1 of 2)
namespace: Serenity.Reflection assembly: Serenity.Net.Core
Tries to add namespace
public string ShortTypeName(string fullName)
Return Value
if succeeds returns only typeName if fails returns fullName
See Also
- class CodeWriter
CodeWriter.ShortTypeName method (2 of 2)
namespace: Serenity.Reflection assembly: Serenity.Net.Core
Tries to add namespace
public string ShortTypeName(string ns, string typeName)
| parameter | description |
|---|---|
| ns | Namespace |
| typeName | Type name |
Return Value
if succeeds returns only typeName if fails returns fullName
See Also
- class CodeWriter