Last updated 2 years ago
Was this helpful?
Method in
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)
Assembly @this
Assembly