C# Class Castle.Core.Internal.TypeUtil

Mostrar archivo Open project: castleproject/Windsor

Public Methods

Method Description
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

Private Methods

Method Description
AppendGenericParameters ( StringBuilder name, Type genericArguments ) : void
ToCSharpString ( Type type, StringBuilder name ) : void
TryMakeGenericType ( this openGeneric, Type arguments ) : Type

Method Details

IsPrimitiveType() public static method

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
return bool

IsPrimitiveTypeOrCollection() public static method

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
return bool

ToCSharpString() public static method

public static ToCSharpString ( this type ) : string
type this
return string