private ValidateChild ( bool suppressWarnings, object value ) : void | ||
suppressWarnings | bool | Decides if warnings are added in the ValidationManager. |
value | object | The object to validate. In most cases this will be a domain /// obect or a domain collection. |
return | void |
private void ValidateChild(bool suppressWarnings, object value)
{
using (ValidationManager.CreateValidationScope(string.Empty))
{
Validate(value, suppressWarnings);
}
}