AssemblyExtensionsGetLoadableTypes Method

Gets the types defined in the specified a Assembly, only the types that can be loaded.

The types that cannot be loaded (eg. due to a missing 3rd party assembly reference) are not returned.

Definition

Namespace: DevCase.Extensions.AssemblyExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[EditorBrowsableAttribute(EditorBrowsableState.Always)]
public static Type[] GetLoadableTypes(
	this Assembly sender
)

Parameters

sender  Assembly
The source Assembly.

Return Value

Type
An array that contains all the types that are defined in this assembly, only the types that can be loaded.

The types that cannot be loaded (eg. Due to a missing 3rd party assembly reference) are not returned.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Assembly. 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).

See Also