C# Class EzBus.Core.Utils.TypeExtensions

Mostrar archivo Open project: Zapote/EzBus

Public Methods

Method Description
CreateGenericList ( this type ) : IList
CreateInstance ( this t ) : object
GetAssemblyName ( this obj ) : string
IsClass ( this type ) : bool
IsCollection ( this type ) : bool
IsLocal ( this t ) : bool
IsValueType ( this type ) : bool

Method Details

CreateGenericList() public static method

public static CreateGenericList ( this type ) : IList
type this
return IList

CreateInstance() public static method

public static CreateInstance ( this t ) : object
t this
return object

GetAssemblyName() public static method

public static GetAssemblyName ( this obj ) : string
obj this
return string

IsClass() public static method

public static IsClass ( this type ) : bool
type this
return bool

IsCollection() public static method

public static IsCollection ( this type ) : bool
type this
return bool

IsLocal() public static method

public static IsLocal ( this t ) : bool
t this
return bool

IsValueType() public static method

public static IsValueType ( this type ) : bool
type this
return bool