10 references to Person
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (10)
ModelMetadataProviderTest.cs (10)
153
var propertyMetadata = provider.GetMetadataForProperty(typeof(
Person
), nameof(
Person
.Parent));
166
var propertyMetadata = provider.GetMetadataForProperty(typeof(
Person
), nameof(
Person
.GrandParent));
687
var metadata = provider.GetMetadataForProperty(typeof(
Person
), nameof(
Person
.Parent));
968
public
Person
Parent { get; set; }
971
public
Person
GrandParent { get; set; }
973
public void Update(
Person
person)
977
public void Save([NonTypeBasedBinder(Name = "PersonParameter")]
Person
person)