CuttingEdge.Conditions - Beta 2

Rating: No reviews yet
Downloads: 261
Released: Dec 20, 2008
Updated: Sep 6, 2009 by dot_NET_Junkie
Dev status: Beta Help Icon

Recommended Download

Application CuttingEdge.Conditions Runtime Library v1.0 beta 2.zip
application, 421K, uploaded Dec 20, 2008 - 86 downloads

Other Available Downloads

Source Code CuttingEdge.Conditions Source Code v1.0 beta 2.zip
source code, 641K, uploaded Dec 20, 2008 - 94 downloads
Documentation CuttingEdge.Conditions.chm
documentation, 427K, uploaded Dec 20, 2008 - 81 downloads

Release Notes

CuttingEdge.Conditions is a library that helps developers to write pre- and postcondition validations in their .NET 3.5 code base. Writing these validations is easy and it improves the readability and maintainability of code.

This second beta has new functionality, some bug fixes and some breaking changes compared to the first release.

New features
  • Validation<T> class is now extendable. Users can now write their own entry point methods.
  • An Otherwise<T> extension method is added. This allows users to throw alternative exception.
  • Method overloads added for most primitive CLR types to increase performance. You could expect a 50% performance improvement on average when primitive types (int, short, double etc.) are validated.
  • Extra 'IsTrue' and 'IsFalse' extension methods are added.
  • An overload method added for every validation extension method in the framework that allows a user to supply an alternative description that will be used when throwing an exception.

Bug fixes
  • The 'IsOfType(Type)' didn't throw an exception when the validated argument was a null reference (Nothing in VB). This is fixed and an exception will now be thrown in this case. (this is a breaking change)
  • Some minor fixes on the generated exception messages.
  • The ArgumentName field of the Validator<T> class has been changes to a property. (This is a breaking change)

For any feedback regarding the project in general and this release in particular, please contact the author at his blog:
This release is provided without any warranty. Please note that this is a beta release and that future releases may be incompatible to this release, like this release is incompatible with the first release.

Reviews for this release

No reviews yet for this release.