ValidatorUtility.Validate method

Validates the specified object and its properties, throwing ValidationException if invalid.

public static void Validate(object value)

Exceptions

exception condition
ArgumentNullException The value is null.
ValidationException The value is invalid.

See Also