1 write to OtherProperty
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (1)
19
OtherProperty
= otherProperty;
11 references to OtherProperty
Microsoft.AspNetCore.Components.Endpoints (2)
Forms\DataAnnotationsClientValidationProvider.cs (1)
174
writer.Param("other"u8, "*." + ca.
OtherProperty
);
Forms\DataAnnotationsLocalizer.cs (1)
102
CompareAttribute a => string.Format(culture, messageTemplate, displayName, a.OtherPropertyDisplayName ?? a.
OtherProperty
),
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
CompareAttributeAdapter.cs (4)
19
_otherProperty = "*." + attribute.
OtherProperty
;
53
: base(attribute.
OtherProperty
)
90
attribute.
OtherProperty
);
97
return attribute.
OtherProperty
;
System.ComponentModel.Annotations (5)
System\ComponentModel\DataAnnotations\CompareAttribute.cs (5)
30
CultureInfo.CurrentCulture, ErrorMessageString, name, OtherPropertyDisplayName ??
OtherProperty
);
38
var otherPropertyInfo = validationContext.ObjectType.GetRuntimeProperty(
OtherProperty
);
41
return new ValidationResult(SR.Format(SR.CompareAttribute_UnknownProperty,
OtherProperty
));
45
throw new ArgumentException(SR.Format(SR.Common_PropertyNotFound, validationContext.ObjectType.FullName,
OtherProperty
));
73
return
OtherProperty
;