2 writes to MemberName
System.ComponentModel.DataAnnotations (1)
DataAnnotations\Validator.cs (1)
447
context.
MemberName
= property.Name;
System.Web (1)
ModelBinding\DataAnnotationsModelValidator.cs (1)
81
context.
MemberName
= memberName;
15 references to MemberName
System.ComponentModel.DataAnnotations (14)
DataAnnotations\ValidationAttribute.cs (2)
381
string[] memberNames = validationContext.
MemberName
!= null ? new string[] { validationContext.
MemberName
} : null;
DataAnnotations\ValidationAttributeStore.cs (5)
60
PropertyStoreItem item = typeItem.GetPropertyStoreItem(validationContext.
MemberName
);
72
PropertyStoreItem item = typeItem.GetPropertyStoreItem(validationContext.
MemberName
);
84
PropertyStoreItem item = typeItem.GetPropertyStoreItem(validationContext.
MemberName
);
90
/// <see cref="ValidationContext.
MemberName
"/> references a property on
99
return typeItem.TryGetPropertyStoreItem(validationContext.
MemberName
, out item);
DataAnnotations\ValidationContext.cs (4)
164
/// to see if can use that instead. Lacking that, it returns <see cref="
MemberName
"/>. The <see cref="ObjectInstance"/>
173
this._displayName = this.
MemberName
;
222
/// <returns>A display-friendly name of the member represented by the <see cref="
MemberName
"/>.</returns>
238
return displayName ?? this.
MemberName
;
DataAnnotations\Validator.cs (3)
38
/// When the <see cref="ValidationContext.
MemberName
"/> of <paramref name="validationContext"/> is not a valid property.
43
string propertyName = validationContext.
MemberName
;
184
EnsureValidPropertyType(validationContext.
MemberName
, propertyType, value);
System.Web (1)
Security\MembershipPasswordAttribute.cs (1)
173
string[] memberNames = (validationContext != null) ? new[] { validationContext.
MemberName
} : null;