Is it possible to setup a series of validators manually, and trigger that validation through the facade Validator.Validate(); method? How can this be done? I know it can be done through configuration, but i want to setup the validators in code because
of the approach I'm using in my application.
Thanks.
Brian
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).
bmains
All-Star
29116 Points
5886 Posts
MVP
Validation Application Block - Setup Validators Manually?
Jan 11, 2008 02:19 PM|LINK
Hello,
Is it possible to setup a series of validators manually, and trigger that validation through the facade Validator.Validate(); method? How can this be done? I know it can be done through configuration, but i want to setup the validators in code because of the approach I'm using in my application.
Thanks.
"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your heart's desires" (Psalm 37: 3-4).