Book a Demo

Author Topic: importing c# namespaces  (Read 5996 times)

allen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
importing c# namespaces
« on: September 29, 2007, 10:14:31 am »
is there anyway to import visual studio 2003 namespaces for use as stereotypes or does on simply have to define each custom stereotype such as System.Windows.Forms.Textbox?

allen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: importing c# namespaces
« Reply #1 on: September 29, 2007, 10:37:46 am »
opps meant to say Type, rather than Stereotype. My bad.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile

allen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: importing c# namespaces
« Reply #3 on: October 02, 2007, 02:28:18 pm »
Simone that tells me how, but not what. What dll or exe must I import?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: importing c# namespaces
« Reply #4 on: October 02, 2007, 02:45:02 pm »
Look under your default Windows directory. In this find the Microsoft.Net (or whatever, if you use another .Net implementation such as Mono). Then in the Framework folder look in the appropriate version. You'll see a group of .dll files that parallel the .Net namespaces.
No, you can't have it!

allen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: importing c# namespaces
« Reply #5 on: October 02, 2007, 02:55:13 pm »
Thanks, I'll try that.

allen

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: importing c# namespaces
« Reply #6 on: October 06, 2007, 07:37:49 am »
Simon, importing NET binaries create a very large amount of diagrams, classes, structs, enums, interfaces... many of which are buried through inheritance, and relly do not require exposure. Is there any way to limit these imports? For example only System.Windows.Form and the classes represented under that namespace. After all, all I require is the Type. By the way. Why when using the Shift key and selecting multiple classes under the project browser tree, will the Delete function fallback to the very first selection. I would hope to be able to delete the entire selection. Is there any way to enable the Delete key to preform the menu funtion Delete?