I posted earlier today with a similar question about how to coerce automatic
behavior from custom attributes. In your case, have you tried having your
CustomAttribute class inherit from whatever attribute class would normally
identify a property or method as a comment? Then, you'd extend that class
to include your own properties you need in CustomAttribute. Might work.
"lucius" <lucius (AT) newsgroup (DOT) nospam> wrote
Quote:
I have a CustomAttribute class that decorates properties and methods
in a class that is serialized with the .NET 2.0 XmlSerializer. I would
like to have these attributes interpreted as XML Comments and embedded
inline or at least at the top of the result document when it is
serialized.
How can I do this?
Thanks. |