4 references to PersonController
Microsoft.AspNetCore.Mvc.Core.Test (4)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (4)
26
var provider = GetProvider(typeof(
PersonController
).GetTypeInfo());
40
var controllerTypeInfo = typeof(
PersonController
).GetTypeInfo();
45
var descriptor = descriptors.Single(ad => ad.ActionName == nameof(
PersonController
.GetPerson));
48
Assert.Equal($"{controllerTypeInfo.FullName}.{nameof(
PersonController
.GetPerson)} ({controllerTypeInfo.Assembly.GetName().Name})", descriptor.DisplayName);