1 write to _pageContext
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageActionInvoker.cs (1)
55
_pageContext
= pageContext;
37 references to _pageContext
Microsoft.AspNetCore.Mvc.RazorPages (37)
Infrastructure\PageActionInvoker.cs (37)
69
internal PageContext PageContext =>
_pageContext
;
91
return CacheEntry.ReleaseModel(
_pageContext
, _pageModel);
96
return CacheEntry.ReleasePage(
_pageContext
, _viewContext!, _page);
111
_pageContext
,
113
_pageContext
.ViewData,
114
_tempDataFactory.GetTempData(
_pageContext
.HttpContext),
117
_viewContext.ExecutingFilePath =
_pageContext
.ActionDescriptor.RelativePath;
122
_page = (PageBase)CacheEntry.PageFactory(
_pageContext
, _viewContext);
125
pageResult.ViewData = pageResult.ViewData ??
_pageContext
.ViewData;
135
_logger.ExecutingPageModelFactory(
_pageContext
);
138
_pageModel = CacheEntry.ModelFactory!(
_pageContext
);
140
_logger.ExecutedPageModelFactory(
_pageContext
);
142
_pageContext
.ViewData.Model = _pageModel;
150
_pageContext
,
152
_pageContext
.ViewData,
153
_tempDataFactory.GetTempData(
_pageContext
.HttpContext),
156
_viewContext.ExecutingFilePath =
_pageContext
.ActionDescriptor.RelativePath;
158
_logger.ExecutingPageFactory(
_pageContext
);
160
_page = (PageBase)CacheEntry.PageFactory(
_pageContext
, _viewContext);
162
_logger.ExecutedPageFactory(
_pageContext
);
166
_pageContext
.ViewData.Model = _page;
175
return _selector.Select(
_pageContext
);
194
await CacheEntry.PropertyBinder(
_pageContext
, _instance);
215
await handlerBinder(
_pageContext
, _arguments);
269
_diagnosticListener.BeforeHandlerMethod(
_pageContext
, handler, _arguments, _instance);
270
_logger.ExecutingHandlerMethod(
_pageContext
, handler, arguments);
279
_diagnosticListener.AfterHandlerMethod(
_pageContext
, handler, _arguments, _instance, _result);
286
_logger.ExecutingImplicitHandlerMethod(
_pageContext
);
295
pageResult.ViewData = pageResult.ViewData ??
_pageContext
.ViewData;
328
_handlerSelectedContext = new PageHandlerSelectedContext(
_pageContext
, _filters, _instance)
341
_handlerSelectedContext = new PageHandlerSelectedContext(
_pageContext
, _filters, _instance)
447
_handlerExecutingContext = new PageHandlerExecutingContext(
_pageContext
, _filters, _handler, _arguments, _instance);
457
_handlerExecutingContext = new PageHandlerExecutingContext(
_pageContext
, _filters, _handler, _arguments, _instance);
508
_pageContext
,
556
_pageContext
,
622
_handlerExecutedContext = new PageHandlerExecutedContext(
_pageContext
, _filters, _handler!, _instance!)
664
_handlerExecutedContext = new PageHandlerExecutedContext(
_pageContext
, _filters, _handler!, _instance!)