1 write to OtherProperty
System.ComponentModel.DataAnnotations (1)
DataAnnotations\CompareAttribute.cs (1)
21
OtherProperty
= otherProperty;
4 references to OtherProperty
System.ComponentModel.DataAnnotations (4)
DataAnnotations\CompareAttribute.cs (4)
29
return String.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, OtherPropertyDisplayName ??
OtherProperty
);
39
PropertyInfo otherPropertyInfo = validationContext.ObjectType.GetProperty(
OtherProperty
);
41
return new ValidationResult(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.CompareAttribute_UnknownProperty,
OtherProperty
));
47
OtherPropertyDisplayName = GetDisplayNameForProperty(validationContext.ObjectType,
OtherProperty
);