GetLoadableTypes(Assembly)

Method in AssemblyExtensions

Summary

Assembly.GetTypes() can throw in some cases. This extension will catch that exception and return only the types which were successfully loaded from the assembly.

public static IEnumerable<System.Type> GetLoadableTypes(this Assembly @this)

Parameters

Name
Description

Assembly @this

Last updated

Was this helpful?