Click or drag to resize

AppDomainExtensionsGetUserAssemblies Method

Enumerates all non System and Microsoft assemblies currently loaded in the AppDomain. This can be used as a performance optimization when you only need to scan user assemblies.

Namespace:  System
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
public static IEnumerable<Assembly> GetUserAssemblies(
	this AppDomain appDomain


Type: SystemAppDomain
The AppDomain.

Return Value

Type: IEnumerableAssembly
The enumerated assemblies.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AppDomain. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
We also use this to work around this Visual Studio bug: