 | ReflectionUtilsFindTypesWithBaseT Method |
Searches all loaded assemblies and returns the types which have the specified attribute.
Namespace: Slash.Reflection.UtilsAssembly: Slash.Reflection (in Slash.Reflection.dll) Version: 1.0.6018.40175
Syntaxpublic static IEnumerable<Type> FindTypesWithBase<T>()
where T : class
Public Shared Function FindTypesWithBase(Of T As Class) As IEnumerable(Of Type)
public:
generic<typename T>
where T : ref class
static IEnumerable<Type^>^ FindTypesWithBase()
static member FindTypesWithBase : unit -> IEnumerable<Type> when 'T : not struct
Type Parameters
- T
- Type of the attribute to get the types of.
Return Value
Type:
IEnumerableTypeList of found types.
See Also