C# Class Rolcore.Reflection.AssemblyExtensions

Extension methods for Assembly.
Afficher le fichier Open project: Rollins/Rolcore

Méthodes publiques

Méthode Description
GetTypesWithAttribute ( this assembly, Type attributeType, bool inherit ) : IEnumerable

Gets a list of Types decorated with the given attribute.

Method Details

GetTypesWithAttribute() public static méthode

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.
Résultat IEnumerable