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)
51
if (
_instance
!= null && _cacheEntry.ControllerReleaser != null)
53
return _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
!)
330
invoker._actionExecutedContext = new ActionExecutedContextSealed(invoker._controllerContext, invoker._filters, invoker.
_instance
!)
390
var actionResultValueTask = actionMethodExecutor.Execute(ControllerContext, _mapper, objectMethodExecutor,
_instance
!, orderedArguments);
411
var controller = invoker.
_instance
;
524
return _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
!)
1390
invoker._resultExecutedContext = new ResultExecutedContextSealed(invoker._actionContext, invoker._filters, invoker._result!, invoker.
_instance
!)