1 write to _instance
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ControllerActionInvoker.cs (1)
70_instance = _cacheEntry.ControllerFactory(controllerContext);
19 references to _instance
Microsoft.AspNetCore.Mvc.Core (19)
Infrastructure\ControllerActionInvoker.cs (12)
51if (_instance != null && _cacheEntry.ControllerReleaser != null) 53return _cacheEntry.ControllerReleaser(_controllerContext, _instance); 92_actionExecutingContext = new ActionExecutingContextSealed(_controllerContext, _filters, _arguments!, _instance!); 102_actionExecutingContext = new ActionExecutingContextSealed(_controllerContext, _filters, _arguments!, _instance!); 153_instance!) 199_instance!) 262_actionExecutedContext = new ActionExecutedContextSealed(_controllerContext, _filters, _instance!) 308_actionExecutedContext = new ActionExecutedContextSealed(_controllerContext, _filters, _instance!) 330invoker._actionExecutedContext = new ActionExecutedContextSealed(invoker._controllerContext, invoker._filters, invoker._instance!) 390var actionResultValueTask = actionMethodExecutor.Execute(ControllerContext, _mapper, objectMethodExecutor, _instance!, orderedArguments); 411var controller = invoker._instance; 524return _cacheEntry.ControllerBinderDelegate(_controllerContext, _instance!, _arguments!);
Infrastructure\ResourceInvoker.cs (7)
1144_resultExecutingContext = new ResultExecutingContextSealed(_actionContext, _filters, _result!, _instance!); 1154_resultExecutingContext = new ResultExecutingContextSealed(_actionContext, _filters, _result!, _instance!); 1208_instance!) 1254_instance!) 1331_resultExecutedContext = new ResultExecutedContextSealed(_actionContext, _filters, result!, _instance!); 1367_resultExecutedContext = new ResultExecutedContextSealed(_actionContext, _filters, _result!, _instance!) 1390invoker._resultExecutedContext = new ResultExecutedContextSealed(invoker._actionContext, invoker._filters, invoker._result!, invoker._instance!)