What are the best practices for using code contracts in the silverlight (4 or 5) Project? Which settings are the best for the code-contracts for the debug and release?
I use CONTRACTS_FULL, Standard Contract Requires and Build Contract Reference Assembly for the debug only, and avoid the Contract.Requires. But I'm not sure if this is the best approach for the silverlight project.
Is the code contracts better for the silverlight Project as another alternatives (like the ReSharper Attributes, "if then throw" ...)?
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog