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