C# Класс Loyc.TypeExt

Extension methods for Type.
Показать файл Открыть проект

Открытые методы

Метод Описание
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>>.

Описание методов

IsPrimitiveFloat() публичный статический Метод

public static IsPrimitiveFloat ( this h ) : bool
h this
Результат bool

IsPrimitiveInteger() публичный статический Метод

public static IsPrimitiveInteger ( this h ) : bool
h this
Результат bool

IsPrimitiveNumeric() публичный статический Метод

public static IsPrimitiveNumeric ( this h ) : bool
h this
Результат bool

NameWithGenericArgs() публичный статический Метод

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
Результат string