12 references to TestApiController
Microsoft.AspNetCore.Mvc.Core.Test (12)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (12)
19
var actionName = $"{typeof(
TestApiController
).FullName}.{nameof(
TestApiController
.TestAction)} ({typeof(
TestApiController
).Assembly.GetName().Name})";
22
var controllerModel = new ControllerModel(typeof(
TestApiController
).GetTypeInfo(), new[] { new ApiControllerAttribute() });
23
var method = typeof(
TestApiController
).GetMethod(nameof(
TestApiController
.TestAction));
44
var controllerModel = new ControllerModel(typeof(
TestApiController
).GetTypeInfo(), new[] { new ApiControllerAttribute() })
49
var method = typeof(
TestApiController
).GetMethod(nameof(
TestApiController
.TestAction));
87
var controllerModel = new ControllerModel(typeof(
TestApiController
).GetTypeInfo(), new[] { new ApiControllerAttribute() })
92
var method = typeof(
TestApiController
).GetMethod(nameof(
TestApiController
.TestActionWithIResult));