C# Class Loyc.TypeExt

Extension methods for Type.
Mostrar archivo Open project: qwertie/ecsharp

Public Methods

Method Description
IsPrimitiveFloat ( this h ) : bool
IsPrimitiveInteger ( this h ) : bool
IsPrimitiveNumeric ( this h ) : bool
NameWithGenericArgs ( this type ) : string

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

Method Details

IsPrimitiveFloat() public static method

public static IsPrimitiveFloat ( this h ) : bool
h this
return bool

IsPrimitiveInteger() public static method

public static IsPrimitiveInteger ( this h ) : bool
h this
return bool

IsPrimitiveNumeric() public static method

public static IsPrimitiveNumeric ( this h ) : bool
h this
return bool

NameWithGenericArgs() public static method

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