Book a Demo

Author Topic: Reverse Engineer .NET Framework Classes?  (Read 6282 times)

jeremy.bunn

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Reverse Engineer .NET Framework Classes?
« on: September 03, 2003, 11:11:03 am »
We have methods that return standard .NET framework types.  However, I don't see them anywhere in the model.  Is there a way to import the .NET framework classes into a model?

SpoonsJTD

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer .NET Framework Classes?
« Reply #1 on: September 04, 2003, 08:36:26 am »
I couldn't find anything built in, but using EA's automation and .NET's reflection, you should be able to automate the interrogation of .NET assemblies and population of diagrams from the data you get out of the reflection interfaces.

jeremy.bunn

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer .NET Framework Classes?
« Reply #2 on: September 04, 2003, 09:22:08 am »
Thanks!  That is probably a good deal of work.  Rational Rose provides modules that can be imported.  Any idea if there is an equivalent for EA?  If so, a .NET module would be useful...

This is a good opportunity for EA, it would add significant value to the product...

Fenric

  • EA Novice
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer .NET Framework Classes?
« Reply #3 on: September 04, 2003, 10:01:43 pm »
Since build 584, there has been a feature in EA to import the .Net Framework. Right-click on a package in the Project View, choose Import/Export, and then select Import .Net XML file.

"Sounds nice," you say, "but where can one get a .Net XML file to import?"

I can't vouch for the suitability of any of the solutions in this thread http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.cgi?board=general;action=display;num=1037000147;start=15, but there are messages that refer to a user-written utility that should read an instance of the Framework, messages that refer to a commercial Rose model of the Framework, and other messages.

HTH....

SpoonsJTD

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer .NET Framework Classes?
« Reply #4 on: September 05, 2003, 05:58:36 am »
I couldn't find anything in the help about .NET XML files except for the reference to the context menu item "Import .NET XML Files".  

Are .NET XML files an EA thing or a .NET thing?  I'm pretty familiar with .NET, but I don't recognize the phrase '.NET XML files' as any kind of standard part of .NET.  If someone could explain what these are, I could probably put together something to create them.  The link to the tool in the referenced post is broken.