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