Table of Contents

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

domain AppDomain

The AppDomain whose types to get.

Returns

IEnumerable<Type>

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

domain AppDomain

The AppDomain whose types to get.

predicate Predicate<Type>

The filter to determine which types are included in the result.

Returns

IEnumerable<Type>

The filtered types contained in all assemblies in domain.