2 instantiations of DIController
Microsoft.AspNetCore.Mvc.Core.Test (2)
Controllers\ServiceBasedControllerActivatorTest.cs (2)
17
var controller = new
DIController
();
48
var controller = new
DIController
();
6 references to DIController
Microsoft.AspNetCore.Mvc.Core.Test (6)
Controllers\ServiceBasedControllerActivatorTest.cs (6)
17
var
controller = new DIController();
19
serviceProvider.Setup(s => s.GetService(typeof(
DIController
)))
32
ControllerTypeInfo = typeof(
DIController
).GetTypeInfo()
47
var expected = "No service for type '" + typeof(
DIController
) + "' has been registered.";
48
var
controller = new DIController();
62
ControllerTypeInfo = typeof(
DIController
).GetTypeInfo()