30 references to ControllerContext
Microsoft.AspNetCore.Mvc.Core (1)
ControllerBase.cs (1)
74
_controllerContext = new
ControllerContext
();
Microsoft.AspNetCore.Mvc.Core.Test (25)
ControllerBaseTest.cs (1)
3214
var controllerContext = new
ControllerContext
()
Controllers\ControllerActivatorProviderTest.cs (4)
31
var result = activatorDelegate(new
ControllerContext
());
52
var context = new
ControllerContext
85
releaseDelegate(new
ControllerContext
(), expected);
126
releaseDelegate(new
ControllerContext
(), controller);
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1254
var context = new
ControllerContext
()
Controllers\ControllerFactoryProviderTest.cs (4)
31
var result = factoryResult(new
ControllerContext
());
57
releaser(new
ControllerContext
(), controller);
82
await releaser(new
ControllerContext
(), controller);
135
var controller = factoryDelegate(new
ControllerContext
());
Controllers\DefaultControllerActivatorTest.cs (4)
54
activator.Release(new
ControllerContext
(), controller);
68
await activator.ReleaseAsync(new
ControllerContext
(), controller);
82
await activator.ReleaseAsync(new
ControllerContext
(), controller);
96
await activator.ReleaseAsync(new
ControllerContext
(), controller);
Controllers\DefaultControllerFactoryTest.cs (8)
25
var context = new
ControllerContext
()
59
var context = new
ControllerContext
()
86
var context = new
ControllerContext
()
113
var context = new
ControllerContext
()
140
var context = new
ControllerContext
()
168
var context = new
ControllerContext
()
197
factory.ReleaseController(new
ControllerContext
(), controller);
213
await factory.ReleaseControllerAsync(new
ControllerContext
(), controller);
ModelBinding\ParameterBinderTest.cs (1)
709
return new
ControllerContext
()
MvcCoreLoggerExtensionsTest.cs (2)
435
var context = new
ControllerContext
463
var context = new
ControllerContext
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ControllerTest.cs (1)
445
var controllerContext = new
ControllerContext
()
ControllerUnitTestabilityTests.cs (3)
578
var controllerContext = new
ControllerContext
();
598
var controllerContext = new
ControllerContext
()
625
controller2.ControllerContext = new
ControllerContext
();