C# Class Tempest.TypeExtensions

Datei anzeigen Open project: ermau/Tempest

Public Methods

Method Description
GetConstructor ( this self, Type parameterTypes ) : ConstructorInfo
GetSimplestName ( this self ) : string
GetTypeInfo ( this self ) : Type
GetTypes ( this self ) : IEnumerable
IsAssignableFrom ( this baseType, Type derivedType ) : bool

Method Details

GetConstructor() public static method

public static GetConstructor ( this self, Type parameterTypes ) : ConstructorInfo
self this
parameterTypes System.Type
return ConstructorInfo

GetSimplestName() public static method

public static GetSimplestName ( this self ) : string
self this
return string

GetTypeInfo() public static method

public static GetTypeInfo ( this self ) : Type
self this
return System.Type

GetTypes() public static method

public static GetTypes ( this self ) : IEnumerable
self this
return IEnumerable

IsAssignableFrom() public static method

public static IsAssignableFrom ( this baseType, Type derivedType ) : bool
baseType this
derivedType System.Type
return bool