Last active
August 31, 2019 13:51
-
-
Save JoseMiguelPizarro/4e98118aa44c0d63bd27423ca3661635 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System; | |
public static class LevelMeshToolProvider | |
{ | |
private static IEnumerable<Type> GetAllTypes(AppDomain domain) | |
{ | |
foreach (var assembly in domain.GetAssemblies()) | |
{ | |
Type[] types = assembly.GetTypes(); | |
foreach (var type in types) | |
{ | |
yield return type; | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment