24 references to HelloController
Microsoft.AspNetCore.Mvc.Core.Test (24)
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (24)
17var controllerType = typeof(HelloController);
21var actionModel = new ActionModel(controllerType.GetMethod(nameof(HelloController.GetInfo)), Array.Empty<object>());
24controllerType.GetMethod(nameof(HelloController.GetInfo)).GetParameters()[0],
45var controllerType1 = typeof(HelloController).GetTypeInfo();
46var actionMethod1 = controllerType1.GetMethod(nameof(HelloController.GetHello));
89var controllerType1 = typeof(HelloController).GetTypeInfo();
91controllerType1.GetMethod(nameof(HelloController.GetInfo)).GetParameters()[0],
93var actionMethod1 = controllerType1.GetMethod(nameof(HelloController.GetInfo));
94var property1 = controllerType1.GetProperty(nameof(HelloController.Property1));
153app.Controllers.Add(new ControllerModel(typeof(HelloController).GetTypeInfo(), Array.Empty<object>()));
194new ControllerModel(typeof(HelloController).GetTypeInfo(), Array.Empty<object>())
214new ControllerModel(typeof(HelloController).GetTypeInfo(), new[] { controllerModelConvention })
229var controllerType = typeof(HelloController).GetTypeInfo();
236new ActionModel(controllerType.GetMethod(nameof(HelloController.GetHello)), Array.Empty<object>())
254var controllerType = typeof(HelloController).GetTypeInfo();
261new PropertyModel(controllerType.GetProperty(nameof(HelloController.Property1)), Array.Empty<object>())
280var controllerType = typeof(HelloController).GetTypeInfo();
287new PropertyModel(controllerType.GetProperty(nameof(HelloController.Property1)), new[] { propertyModelConvention })
303var controllerType = typeof(HelloController).GetTypeInfo();
310var actionModel = new ActionModel(controllerType.GetMethod(nameof(HelloController.GetInfo)), Array.Empty<object>())
316controllerType.GetMethod(nameof(HelloController.GetInfo)).GetParameters()[0],
336var controllerType = typeof(HelloController).GetTypeInfo();
343var actionModel = new ActionModel(controllerType.GetMethod(nameof(HelloController.GetInfo)), Array.Empty<object>())
349controllerType.GetMethod(nameof(HelloController.GetInfo)).GetParameters()[0],