C# Класс Castle.Core.Internal.TypeUtil

Показать файл Открыть проект

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

Метод Описание
IsPrimitiveType ( this type ) : bool

Checkis if given type is a primitive type. Value types and string are considered primitive and can not be registered as components in Windsor

IsPrimitiveTypeOrCollection ( this type ) : bool

Checkis if given type is a primitive type or collection of primitive types. Value types, string are considered primitive and can not be registered as components in Windsor

ToCSharpString ( this type ) : string

Приватные методы

Метод Описание
AppendGenericParameters ( StringBuilder name, Type genericArguments ) : void
ToCSharpString ( Type type, StringBuilder name ) : void
TryMakeGenericType ( this openGeneric, Type arguments ) : Type

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

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

Checkis if given type is a primitive type. Value types and string are considered primitive and can not be registered as components in Windsor
public static IsPrimitiveType ( this type ) : bool
type this
Результат bool

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

Checkis if given type is a primitive type or collection of primitive types. Value types, string are considered primitive and can not be registered as components in Windsor
public static IsPrimitiveTypeOrCollection ( this type ) : bool
type this
Результат bool

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

public static ToCSharpString ( this type ) : string
type this
Результат string