1 write to ModelStateKey
System.Web (1)
ModelBinding\ModelValidationNode.cs (1)
21
ModelStateKey
= modelStateKey;
8 references to ModelStateKey
System.Web (8)
ModelBinding\ModelValidationNode.cs (3)
145
string propertyKeyRoot = ModelBinderUtil.CreatePropertyModelName(
ModelStateKey
, propertyMetadata.PropertyName);
160
if (!modelState.IsValidField(
ModelStateKey
)) {
167
string trueModelStateKey = ModelBinderUtil.CreatePropertyModelName(
ModelStateKey
, validationResult.MemberName);
ModelBinding\MutableObjectModelBinder.cs (5)
97
if (modelState.IsValidField(validationNode.
ModelStateKey
)) {
100
modelState.AddModelError(validationNode.
ModelStateKey
, errorMessage);
196
string modelStateKey = complexModelResult.ValidationNode.
ModelStateKey
;
213
string modelStateKey = complexModelResult.ValidationNode.
ModelStateKey
;
221
string modelStateKey = complexModelResult.ValidationNode.
ModelStateKey
;