C# Class Liara.Helpers.ReflectionHelpers

Show file Open project: prasannavl/Liara

Public Properties

Property Type Description
LiaraAssembly System.Reflection.Assembly

Public Methods

Method Description
GetAllAssemblies ( ) : IEnumerable
GetClassesInsideType ( Type outerType, bool includeOuterType = false, bool includeAbstract = false ) : IEnumerable
GetImplementationsOfType ( Type interfaceType, Assembly fromAssembly, bool includeAbstract = false ) : IEnumerable
GetImplementationsOfType ( Type interfaceType, Type fromOuterType, bool includeOuterType = true, bool includeAbstract = false ) : IEnumerable
GetImplementationsOfType ( Type interfaceType, bool includeAbstract = false ) : IEnumerable
GetMethods ( Type fromType ) : IEnumerable
GetMethods ( Type fromType, Assembly fromAssembly, bool includeParentIfPresent = true ) : IEnumerable
GetMethods ( Type fromType, Type fromOuterType, bool includeOuterType = true ) : IEnumerable
GetSubClassesOfType ( Type type, Assembly fromAssembly, bool includeParentIfPresent = false, bool includeAbstract = false ) : IEnumerable
GetSubClassesOfType ( Type type, Type fromOuterType, bool includeOuterType = false, bool includeAbstract = false ) : IEnumerable
GetSubClassesOfType ( Type type, bool includeParentIfPresent = false, bool includeAbstract = false ) : IEnumerable
IsTypeAnonymous ( Type type ) : bool

Method Details

GetAllAssemblies() public static method

public static GetAllAssemblies ( ) : IEnumerable
return IEnumerable

GetClassesInsideType() public static method

public static GetClassesInsideType ( Type outerType, bool includeOuterType = false, bool includeAbstract = false ) : IEnumerable
outerType System.Type
includeOuterType bool
includeAbstract bool
return IEnumerable

GetImplementationsOfType() public static method

public static GetImplementationsOfType ( Type interfaceType, Assembly fromAssembly, bool includeAbstract = false ) : IEnumerable
interfaceType System.Type
fromAssembly System.Reflection.Assembly
includeAbstract bool
return IEnumerable

GetImplementationsOfType() public static method

public static GetImplementationsOfType ( Type interfaceType, Type fromOuterType, bool includeOuterType = true, bool includeAbstract = false ) : IEnumerable
interfaceType System.Type
fromOuterType System.Type
includeOuterType bool
includeAbstract bool
return IEnumerable

GetImplementationsOfType() public static method

public static GetImplementationsOfType ( Type interfaceType, bool includeAbstract = false ) : IEnumerable
interfaceType System.Type
includeAbstract bool
return IEnumerable

GetMethods() public static method

public static GetMethods ( Type fromType ) : IEnumerable
fromType System.Type
return IEnumerable

GetMethods() public static method

public static GetMethods ( Type fromType, Assembly fromAssembly, bool includeParentIfPresent = true ) : IEnumerable
fromType System.Type
fromAssembly System.Reflection.Assembly
includeParentIfPresent bool
return IEnumerable

GetMethods() public static method

public static GetMethods ( Type fromType, Type fromOuterType, bool includeOuterType = true ) : IEnumerable
fromType System.Type
fromOuterType System.Type
includeOuterType bool
return IEnumerable

GetSubClassesOfType() public static method

public static GetSubClassesOfType ( Type type, Assembly fromAssembly, bool includeParentIfPresent = false, bool includeAbstract = false ) : IEnumerable
type System.Type
fromAssembly System.Reflection.Assembly
includeParentIfPresent bool
includeAbstract bool
return IEnumerable

GetSubClassesOfType() public static method

public static GetSubClassesOfType ( Type type, Type fromOuterType, bool includeOuterType = false, bool includeAbstract = false ) : IEnumerable
type System.Type
fromOuterType System.Type
includeOuterType bool
includeAbstract bool
return IEnumerable

GetSubClassesOfType() public static method

public static GetSubClassesOfType ( Type type, bool includeParentIfPresent = false, bool includeAbstract = false ) : IEnumerable
type System.Type
includeParentIfPresent bool
includeAbstract bool
return IEnumerable

IsTypeAnonymous() public static method

public static IsTypeAnonymous ( Type type ) : bool
type System.Type
return bool

Property Details

LiaraAssembly public static property

public static Assembly,System.Reflection LiaraAssembly
return System.Reflection.Assembly