Mic*_*ael 9 c# reflection types .net-assembly
如果我在AppDomain中获得类型列表,这些类型是否有固有的排序?
List<Type> myTypes = new List<Type>();
foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies())
myTypes.AddRange(a.GetTypes());
Run Code Online (Sandbox Code Playgroud)
这似乎产生了一个按命名空间中的类型分组的列表,但我看不到命名空间组本身的模式(或每个命名空间组中的类型).
| 归档时间: |
|
| 查看次数: |
684 次 |
| 最近记录: |