GetLoadableTypes(Assembly)
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)
Name | Description |
---|---|
Assembly @this | |
Last modified 1yr ago