C# Class Edu.Nlu.Sir.Siemens.Shared.Extensions

ファイルを表示 Open project: lukesandberg/PexFaultLocalization

Public Methods

Method Description
IsRealClass ( this testType ) : bool
ReadLine ( this reader, char &result, int maxsize ) : bool
TypesImplementingInterface ( this interfaceType, bool onlyRealTypes ) : IEnumerable

Returns all types in the current AppDomain implementing the interface or inheriting the type.

Method Details

IsRealClass() public static method

public static IsRealClass ( this testType ) : bool
testType this The type to test
return bool

ReadLine() public static method

public static ReadLine ( this reader, char &result, int maxsize ) : bool
reader this
result char
maxsize int
return bool

TypesImplementingInterface() public static method

Returns all types in the current AppDomain implementing the interface or inheriting the type.
public static TypesImplementingInterface ( this interfaceType, bool onlyRealTypes ) : IEnumerable
interfaceType this
onlyRealTypes bool if true, only real, instantiable types will be returned
return IEnumerable