13 references to IValidatableObject
System.ComponentModel.DataAnnotations (2)
DataAnnotations\Validator.cs (2)
365
IValidatableObject
validatable = instance as
IValidatableObject
;
System.Web (11)
ModelBinding\DataAnnotationsModelValidatorProvider.cs (8)
21
/// a validator for types which implement <see cref="
IValidatableObject
"/>. To support
103
if (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
"/>.
334
if (!typeof(
IValidatableObject
).IsAssignableFrom(modelType)) {
340
typeof(
IValidatableObject
).FullName
ModelBinding\ValidatableObjectAdapter.cs (3)
22
IValidatableObject
validatable = model as
IValidatableObject
;
28
typeof(
IValidatableObject
).FullName,