Sign in to follow this  
Jonas B

[.net] Comments and attributes

Recommended Posts

Is there a way to access code comments such as /// <summary> /// Description of property /// </summary> in runtime? I could add a [Description()] attribute but then I'd have to maintain two instances of the same text.

Share this post


Link to post
Share on other sites
Too bad - thanks Z. Maybe I'll look into how to add a build step that can copy comments into Descriptions automatically, should be doable.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this