1 write to ActionContext
Microsoft.AspNetCore.Mvc.Razor (1)
ViewLocationExpanderContext.cs (1)
31ActionContext = actionContext;
11 references to ActionContext
Microsoft.AspNetCore.Mvc.Razor.Test (8)
RazorViewEngineTest.cs (8)
677Assert.NotNull(c.ActionContext); 687Assert.NotNull(c.ActionContext); 745Assert.NotNull(c.ActionContext); 755Assert.NotNull(c.ActionContext); 1161Assert.NotNull(c.ActionContext); 1171Assert.NotNull(c.ActionContext); 1220Assert.NotNull(c.ActionContext); 1230Assert.NotNull(c.ActionContext);
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\PageViewLocationExpander.cs (1)
16if ((context.ActionContext.ActionDescriptor is PageActionDescriptor) && !string.IsNullOrEmpty(context.PageName))
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\PageViewLocationExpanderTest.cs (1)
52context.ActionContext.ActionDescriptor = new ControllerActionDescriptor();
RazorWebSite (1)
Services\BackSlashExpander.cs (1)
17if (context.ActionContext is ViewContext viewContext && (string)viewContext.ViewData["back-slash"] == "true")