10 references to ObjectType
System.ComponentModel.DataAnnotations (10)
DataAnnotations\CompareAttribute.cs (2)
39PropertyInfo otherPropertyInfo = validationContext.ObjectType.GetProperty(OtherProperty); 47OtherPropertyDisplayName = GetDisplayNameForProperty(validationContext.ObjectType, OtherProperty);
DataAnnotations\ValidationAttributeStore.cs (7)
37TypeStoreItem item = this.GetTypeStoreItem(validationContext.ObjectType); 48TypeStoreItem item = this.GetTypeStoreItem(validationContext.ObjectType); 59TypeStoreItem typeItem = this.GetTypeStoreItem(validationContext.ObjectType); 71TypeStoreItem typeItem = this.GetTypeStoreItem(validationContext.ObjectType); 83TypeStoreItem typeItem = this.GetTypeStoreItem(validationContext.ObjectType); 91/// the <see cref="ValidationContext.ObjectType"/>. 97TypeStoreItem typeItem = this.GetTypeStoreItem(validationContext.ObjectType);
DataAnnotations\ValidationContext.cs (1)
176this._displayName = this.ObjectType.Name;