ExternallyConfigurableObjectValidator

Topics: Development Team Discussion, User Discussion
May 19, 2007 at 7:00 PM
Edited May 19, 2007 at 7:01 PM
Added a new Validator: ExternallyConfigurableObjectValidator (and one that validates collections of objects: ExternallyConfigurableObjectCollectionValidator)

This "ObjectValidator" can validate properties using an external configurationfile.
It can:
- be applied through configuration
- be applied through attributes
- be configured using the Configuration Console

It solves the following issue:
http://www.codeplex.com/entlib/WorkItem/View.aspx?WorkItemId=10283

It is included in ChangeSet: 2871

example usage custom attribute

public class MyClass
{
[ExternallyConfiguredObjectValidator("RuleSet?", "FooValidation.config")]
public Foo ValidateMeUsingFooRules2
{
get { return foo2; }
}
}