C# Class Nimrod.TypeDiscovery

Show file Open project: resgroup/nimrod

Public Methods

Method Description
EnumerateTypes ( IEnumerable startTypes ) : HashSet

Get every type referenced by this type, including itself, Properties, Generics and Inheritance The list is guarranted to be unique

EnumerateTypes ( Type startType ) : HashSet
GetWebControllerActions ( this controllerType ) : IEnumerable
GetWebControllers ( IEnumerable assemblies ) : IEnumerable
ReferencedTypes ( this type ) : HashSet

Returns a set of references types: - generics - inheritance - public properties

Private Methods

Method Description
ThrowUnavailableAssembly ( FileNotFoundException exception, PropertyInfo p, Type type ) : string

Method Details

EnumerateTypes() public static method

Get every type referenced by this type, including itself, Properties, Generics and Inheritance The list is guarranted to be unique
public static EnumerateTypes ( IEnumerable startTypes ) : HashSet
startTypes IEnumerable
return HashSet

EnumerateTypes() public static method

public static EnumerateTypes ( Type startType ) : HashSet
startType System.Type
return HashSet

GetWebControllerActions() static public method

static public GetWebControllerActions ( this controllerType ) : IEnumerable
controllerType this
return IEnumerable

GetWebControllers() static public method

static public GetWebControllers ( IEnumerable assemblies ) : IEnumerable
assemblies IEnumerable
return IEnumerable

ReferencedTypes() public static method

Returns a set of references types: - generics - inheritance - public properties
public static ReferencedTypes ( this type ) : HashSet
type this
return HashSet