11 references to Employee
Microsoft.AspNetCore.Mvc.Core.Test (11)
ModelBinding\ModelBinderFactoryTest.cs (11)
189
Assert.Equal(typeof(
Employee
), c.Metadata.ModelType);
190
var binder = c.CreateBinder(c.Metadata.Properties[nameof(
Employee
.Manager)]);
207
Metadata = metadataProvider.GetMetadataForType(typeof(
Employee
)),
226
Assert.Equal(typeof(
Employee
), c.Metadata.ModelType);
237
Metadata = metadataProvider.GetMetadataForType(typeof(
Employee
)),
257
Assert.Equal(typeof(
Employee
), c.Metadata.ModelType);
268
Metadata = metadataProvider.GetMetadataForType(typeof(
Employee
)),
344
metadataProvider.ForType<
Employee
>().BindingDetails(binding =>
358
Assert.Equal(typeof(
Employee
), context.Metadata.ModelType);
379
Metadata = metadataProvider.GetMetadataForType(typeof(
Employee
)),
673
public
Employee
Manager { get; set; }