Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get list of the classes in casual assembly
Message
De
12/03/2010 03:59:14
 
 
À
12/03/2010 03:53:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01453908
Message ID:
01454094
Vues:
33
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform