Table of Contents

Class AppDomainHelpers

Namespace
Garyon.Functions
Assembly
Garyon.dll

Provides helper functions and extensions for the AppDomain class.

public static class AppDomainHelpers
Inheritance
AppDomainHelpers
Inherited Members

Methods

ForceLoadAllAssemblies(AppDomain)

Forces loading all assemblies that are referenced in the given AppDomain.

public static void ForceLoadAllAssemblies(this AppDomain domain)

Parameters

domain AppDomain

The AppDomain whose referenced assemblies to force loading.

ForceLoadAllAssembliesCurrent()

Forces loading all assemblies that are referenced in CurrentDomain.

public static void ForceLoadAllAssembliesCurrent()

GetDynamicAssemblies(AppDomain)

Gets all the dynamic assemblies that are loaded.

[ExcludeFromCodeCoverage]
public static IEnumerable<Assembly> GetDynamicAssemblies(this AppDomain domain)

Parameters

domain AppDomain

The AppDomain whose dynamic assemblies to get.

Returns

IEnumerable<Assembly>

A collection of Assembly instances representing the dynamic assemblies that the given AppDomain contains.

Remarks

Only the loaded assemblies are included..

GetStaticAssemblies(AppDomain)

Gets all the static assemblies that are loaded.

[ExcludeFromCodeCoverage]
public static IEnumerable<Assembly> GetStaticAssemblies(this AppDomain domain)

Parameters

domain AppDomain

The AppDomain whose static assemblies to get.

Returns

IEnumerable<Assembly>

A collection of Assembly instances representing the static assemblies that the given AppDomain contains.

Remarks

Only the loaded assemblies are included. Consider using ForceLoadAllAssemblies(AppDomain).