Table of Contents

Method GetTypesSafe

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

GetTypesSafe(Assembly?)

Safely retrieves all types defined in the specified assembly.

public static Type[] GetTypesSafe(Assembly? asm)

Parameters

asm Assembly

The assembly to retrieve types from.

Returns

Type[]

An array of Type objects representing the types defined in the assembly. Returns an empty array if the assembly is null or an error occurs while retrieving the types.