12 references to PropertyName
System.Web (12)
ModelBinding\AssociatedValidatorProvider.cs (3)
21
if (metadata.ContainerType != null && !String.IsNullOrEmpty(metadata.
PropertyName
)) {
32
PropertyDescriptor property = typeDescriptor.GetProperties().Find(metadata.
PropertyName
, true);
38
metadata.ContainerType.FullName, metadata.
PropertyName
),
ModelBinding\ComplexModelBinder.cs (1)
12
ModelName = ModelBinderUtil.CreatePropertyModelName(bindingContext.ModelName, propertyMetadata.
PropertyName
)
ModelBinding\DataAnnotationsModelValidator.cs (1)
80
memberName = Metadata.
PropertyName
?? Metadata.ModelType.Name;
ModelBinding\ModelBindingContext.cs (1)
106
_propertyMetadata = ModelMetadata.Properties.ToDictionary(m => m.
PropertyName
, StringComparer.OrdinalIgnoreCase);
ModelBinding\ModelMetadata.cs (1)
370
return DisplayName ??
PropertyName
?? ModelType.Name;
ModelBinding\ModelValidationNode.cs (1)
145
string propertyKeyRoot = ModelBinderUtil.CreatePropertyModelName(ModelStateKey, propertyMetadata.
PropertyName
);
ModelBinding\ModelValidator.cs (1)
54
MemberName = ValueProviderUtil.CreateSubPropertyName(propertyMetadata.
PropertyName
, propertyResult.MemberName),
ModelBinding\MutableObjectModelBinder.cs (3)
119
let propertyName = propertyMetadata.
PropertyName
163
missingRequiredProperties.ExceptWith(complexModel.Results.Select(r => r.Key.
PropertyName
));
184
PropertyDescriptor propertyDescriptor = TypeDescriptorHelper.Get(bindingContext.ModelType).GetProperties().Find(propertyMetadata.
PropertyName
, true /* ignoreCase */);