ValidatorUtility class

Helper methods for using Validator.

public static class ValidatorUtility

Public Members

name description
static GetValidationResults(…) Gets the validation results from validating the specified object and its properties.
static IsValid(…) Returns true if the specified object and its properties are valid.
static Validate(…) Validates the specified object and its properties, throwing ValidationException if invalid.

See Also