C# 클래스 Castle.Core.Internal.TypeUtil

파일 보기 프로젝트 열기: castleproject/Windsor

공개 메소드들

메소드 설명
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