C# Class Rolcore.Reflection.AssemblyExtensions

Extension methods for Assembly.
Show file Open project: Rollins/Rolcore

Public Methods

Method Description
GetTypesWithAttribute ( this assembly, Type attributeType, bool inherit ) : IEnumerable

Gets a list of Types decorated with the given attribute.

Method Details

GetTypesWithAttribute() public static method

Gets a list of Types decorated with the given attribute.
public static GetTypesWithAttribute ( this assembly, Type attributeType, bool inherit ) : IEnumerable
assembly this Specifies the to search.
attributeType System.Type Specifies the of /// to search for.
inherit bool Specifies if inheritance chains should be searched.
return IEnumerable