17 references to Success
System.ComponentModel.DataAnnotations (12)
DataAnnotations\CustomValidationAttribute.cs (1)
37/// If the method returns <see cref="ValidationResult"/>.<see cref="ValidationResult.Success"/>, that indicates the given value is acceptable and validation passed.
DataAnnotations\ValidationAttribute.cs (6)
344/// When validation is valid, <see cref="ValidationResult.Success"/>. 377ValidationResult result = ValidationResult.Success; 393/// If this method returns <see cref="ValidationResult.Success"/>, then validation was successful, otherwise 401/// When validation is valid, <see cref="ValidationResult.Success"/>. 460/// If that method doesn't return <see cref="ValidationResult.Success"/>, this base method will throw 466/// doesn't return <see cref="ValidationResult.Success"/>.
DataAnnotations\ValidationResult.cs (2)
8/// Use the static <see cref="ValidationResult.Success"/> to represent successful validation. 27/// should compare the values to <see cref="ValidationResult.Success"/> rather than checking for null.
DataAnnotations\Validator.cs (3)
369foreach (ValidationResult result in results.Where(r => r != ValidationResult.Success)) { 405if (validationResult != ValidationResult.Success) { 520if (validationResult != ValidationResult.Success) {
System.Web (5)
ModelBinding\DataAnnotationsModelValidator.cs (1)
85if (result != ValidationResult.Success)
ModelBinding\ValidatableObjectAdapter.cs (1)
40if (result != ValidationResult.Success) {
Security\MembershipPasswordAttribute.cs (3)
164/// When validation is valid, <see cref="ValidationResult.Success"/>. 177return ValidationResult.Success; 209return ValidationResult.Success;