Loading ...

Reading through assemblies

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  advanced topics   » Reading through assemblies

Reading through assemblies

Posts under the topic: Reading through assemblies

Posted: 9/7/2010

Lurker 10  points  Lurker
  • Joined on: 5/29/2009
  • Posts: 2

Hi, I want to write some program that would read through assemblies and goes into the method and find out all the calls that are made in that method. Can you please help me write that...

So suppose there is a method Execute and it calls

 

Execute()

{

(new Manager1()).SomeMethod1();

(new Manager2()).SomeMethod2();

(new Manager3()).SomeMethod3();

}

 

I want to write Manager1 and someMethodX, all these to a database.


tags reflection

Posted: 9/9/2010

Lurker 10  points  Lurker
  • Joined on: 5/29/2009
  • Posts: 2

Any replies? Apart from this I also need the following:

 

 

Execute()

{

if(condition1)

(new Manager1()).SomeMethod1();

if(condition2)

(new Manager2()).SomeMethod2();

if(condition3)

(new Manager3()).SomeMethod3();

}

 

Writing Coniditons, SomeMethodX, ManagerX to database..


Page 1 of 1 (2 items)