Enhanced C#
Language of your choice: library documentation
Static Public Member Functions | List of all members
Loyc.TypeExt Class Reference

Extension methods for Type. More...


Source file:

Remarks

Extension methods for Type.

Static Public Member Functions

static string NameWithGenericArgs (this Type type)
 Returns the type with generic parameters in C# style, e.g. typeof(List<List<string>>.NameWithGenericArgs() returns List<List<String>>. More...
 
static bool IsPrimitiveInteger (this RuntimeTypeHandle h)
 
static bool IsPrimitiveFloat (this RuntimeTypeHandle h)
 
static bool IsPrimitiveNumeric (this RuntimeTypeHandle h)
 

Member Function Documentation

◆ NameWithGenericArgs()

static string Loyc.TypeExt.NameWithGenericArgs ( this Type  type)
inlinestatic

Returns the type with generic parameters in C# style, e.g. typeof(List<List<string>>.NameWithGenericArgs() returns List<List<String>>.