CSharp.TryGetSimplifiedName Method
- Namespace
- Kampute.DocToolkit.Languages
- Assembly
- Kampute.DocToolkit.dll
Definition
Attempts to retrieve the simplified name of a system type.
public static bool TryGetSimplifiedName(IType type, [NotNullWhen(true)] out string simplifiedName)Parameters
typeIType- The system type to retrieve the simplified name for (such as "Int32" or "Boolean").
simplifiedNamestring- When this method returns, contains the simplified name of the type, if found; otherwise,
null.
