Class AppDomainExtensions
- Namespace
- Garyon.Reflection
- Assembly
- Garyon.dll
Contains extensions for the AppDomain type.
public static class AppDomainExtensions
- Inheritance
-
AppDomainExtensions
- Inherited Members
Methods
GetAllTypes(AppDomain)
Gets all the types defined in all assemblies for the given AppDomain.
public static IEnumerable<Type> GetAllTypes(this AppDomain domain)
Parameters
Returns
GetAllTypes(AppDomain, Predicate<Type>)
Gets and filters all the types defined in all assemblies for the given AppDomain.
public static IEnumerable<Type> GetAllTypes(this AppDomain domain, Predicate<Type> predicate)
Parameters
domainAppDomainThe AppDomain whose types to get.
predicatePredicate<Type>The filter to determine which types are included in the result.
Returns
- IEnumerable<Type>
The filtered types contained in all assemblies in
domain.