Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get list of the classes in casual assembly
Message
From
12/03/2010 03:59:14
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01453908
Message ID:
01454094
Views:
32
>>>or:
var list = (from m in Assembly.Load("GregoryAdam.Base").GetModules() select m.GetTypes().Where(x=>x.IsClass)).ToList();
Not as flat though :={
>>
>>
>>Good, Viv
>>
>>
>>I was so proud I could answer - [Sulk (borrowed from you)]
>
>I wouldn't be at all surprised if your version was just as quick :-}

I haven't done any speed test, but I suspect that the biggest part of the time spent will be in reading the assembly - rather complex structure

Have you read your assembler book yet ?
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform