Class fsTypeExtensions
Inheritance
fsTypeExtensions
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, Boolean)
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 |
|
Boolean |
includeNamespace |
|
Returns
CSharpName(Type, Boolean, Boolean)
Declaration
public static string CSharpName(this Type type, bool includeNamespace, bool ensureSafeDeclarationName)
Parameters
Type |
Name |
Description |
Type |
type |
|
Boolean |
includeNamespace |
|
Boolean |
ensureSafeDeclarationName |
|
Returns