Search the web
Sign In
New User? Sign Up
vsnetaddin · Visual Studio.NET Add-ins
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Code generation and reverse engineering   Message List  
Reply | Forward Message #3855 of 3878 |
Hello all,

I am writing a visual tool that would create custom classes, currently
it uses CodeDOM.
I am stuck a point where I need to parse the code for getting the type
of the custom classes (if they are to be used in another custom class)

For eg:
class A {
public int foo;
}

class B {

public A instance_A;
}


For this I would have to build the solution and get the Type of A from
the assembly ?

or

Should I use codeModel, but then I would have to generate code using
FileCodeModel as well.

Any thoughts ?

Thanks.




Tue Feb 5, 2008 5:09 am

rishiparkhe
Offline Offline
Send Email Send Email

Forward
Message #3855 of 3878 |
Expand Messages Author Sort by Date

Hello all, I am writing a visual tool that would create custom classes, currently it uses CodeDOM. I am stuck a point where I need to parse the code for...
rishiparkhe
Offline Send Email
Feb 5, 2008
12:19 pm

In my opinion, CodeDOM, while very powerful is also very frustrating to work with. I also have created a code generator; however the code for the classes that...
Joshua
elektrofetish
Offline Send Email
Feb 5, 2008
5:09 pm

Hi Joshua, Thanks for your comments. I was also thinking about implementing my own graph for the code to be generated. And agree that CodeDOM is very powerful,...
Rishikesh Parkhe
rishiparkhe
Offline Send Email
Feb 8, 2008
2:55 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help