13 references to IValidatableObject
System.ComponentModel.DataAnnotations (2)
DataAnnotations\Validator.cs (2)
365IValidatableObject validatable = instance as IValidatableObject;
System.Web (11)
ModelBinding\DataAnnotationsModelValidatorProvider.cs (8)
21/// a validator for types which implement <see cref="IValidatableObject"/>. To support 103if (typeof(IValidatableObject).IsAssignableFrom(metadata.ModelType)) { 230/// implement <see cref="IValidatableObject"/>. The adapter type must derive from 252/// implement <see cref="IValidatableObject"/>. 272/// <see cref="IValidatableObject"/>. The adapter type must derive from 286/// <see cref="IValidatableObject"/>. 334if (!typeof(IValidatableObject).IsAssignableFrom(modelType)) { 340typeof(IValidatableObject).FullName
ModelBinding\ValidatableObjectAdapter.cs (3)
22IValidatableObject validatable = model as IValidatableObject; 28typeof(IValidatableObject).FullName,