Class fsTypeExtensions
Inheritance
fsTypeExtensions
Assembly: Unity.VisualScripting.Core.dll
Syntax
public static class fsTypeExtensions
Methods
CSharpName(Type)
Returns a pretty name for the type in the style of one that you'd see
in C# without the namespace.
Declaration
public static string CSharpName(this Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
CSharpName(Type, bool)
Returns a pretty name for the type in the style of one that you'd see
in C#.
Declaration
public static string CSharpName(this Type type, bool includeNamespace)
Parameters
Type |
Name |
Description |
Type |
type |
|
bool |
includeNamespace |
Should the name include namespaces?
|
Returns
CSharpName(Type, bool, bool)
Declaration
public static string CSharpName(this Type type, bool includeNamespace, bool ensureSafeDeclarationName)
Parameters
Type |
Name |
Description |
Type |
type |
|
bool |
includeNamespace |
|
bool |
ensureSafeDeclarationName |
|
Returns