Table of Contents

Method GetExportedTypesSafe

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

GetExportedTypesSafe(Assembly?)

Gets the exported types from the specified assembly safely.

public static Type[] GetExportedTypesSafe(Assembly? asm)

Parameters

asm Assembly

The assembly to retrieve exported types from.

Returns

Type[]

An array of Type objects representing the exported types in the assembly. Returns an empty array if the assembly is null, dynamic, or has no exported types.