Here is yet another question I got from a C# user recently:
I have a class that represents a business rule. I want to add some rule metadata that could be used by consumers to retrieve a friendlier rule name, description, and anything else that makes sense. Should this information be exposed as an attribute or property on the class?
I would say to absolutely go for a property in this case...Full Article.
No comments:
Post a Comment
Post your comments here: