Wednesday, May 27, 2009

Diabetes Insipidus Biuret

Mono.Cecil: reflection on steroids.

recently by studying the potential

T4 (a future post will be spent), I was confronted once again has a well known problem of the rehabilitation: The inability to unload an assembly of the AppDomain with the charge; The only solution is to unload the AppDomain.
In my case, the AppDomain loads the assembly was HOSTS Visual Studio, my only solution was to close Visual Studio 2008 ... sniff sniff a little violent! my bookmarks Digging untreated, I fall back on Mono.Cecil

a Framework of introspection

written by Jean-Baptiste Evain
.

Mono.Cecil What? I'd say it's reflection on steroids because they are not subject to the same limitations as the reflection and that premium can also create / modify code with CIL. Mono.Cecil vs. System.Reflection

of Patrick Smacchia an author of

NDepend

order not to deviate from the rule a little bit of code to set foot in the stirrup. AssemblyDefinition MyLibrary AssemblyFactory.GetAssembly = ("MyLibrary.dll"); foreach (TypeDefinition typedef in myLibrary.MainModule.Types)

{if (! TypeDef.IsClass)

continuous

Console.WriteLine (typeDef.FullName );} Good introspection.

 

0 comments:

Post a Comment