Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] Comments and attributes

Started by Jonas B Apr 29, 2006 at 6:16 PM 1 replies 500+ views
Original Post
Jonas B
Jonas B
Is there a way to access code comments such as /// /// Description of property /// in runtime? I could add a [Description()] attribute but then I'd have to maintain two instances of the same text.
Jonas B
Jonas B
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.