33 references to ViewContext
Microsoft.AspNetCore.Mvc.Razor.Test (7)
DefaultTagHelperFactoryTest.cs (1)
158var viewContext = new ViewContext(
Infrastructure\DefaultTagHelperActivatorTest.cs (1)
44var viewContext = new ViewContext(
RazorPageActivatorTest.cs (1)
260return new ViewContext(
RazorPageCreateModelExpressionTest.cs (1)
324return new ViewContext(
RazorPageCreateTagHelperTest.cs (1)
95var viewContext = new ViewContext(
RazorPageTest.cs (1)
1428return new ViewContext(
RazorViewTest.cs (1)
1794return new ViewContext(
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvoker.cs (2)
110_viewContext = new ViewContext( 149_viewContext = new ViewContext(
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageTest.cs (1)
33var viewContext = new ViewContext(pageContext, NullView.Instance, viewData, tempData, TextWriter.Null, new HtmlHelperOptions());
Microsoft.AspNetCore.Mvc.TagHelpers.Test (11)
CacheTagHelperTest.cs (1)
932return new ViewContext(
CacheTagKeyTest.cs (1)
541return new ViewContext(actionContext,
DistributedCacheTagHelperTest.cs (1)
739return new ViewContext(actionContext,
FormTagHelperTest.cs (1)
1161return new ViewContext(
ImageTagHelperTest.cs (1)
301var viewContext = new ViewContext(
LinkTagHelperTest.cs (1)
1132var viewContext = new ViewContext(
PartialTagHelperTest.cs (1)
840return new ViewContext(
ScriptTagHelperTest.cs (1)
1113var viewContext = new ViewContext(
TestableHtmlGenerator.cs (1)
83var viewContext = new ViewContext(
ValidationMessageTagHelperTest.cs (1)
470return new ViewContext(
ValidationSummaryTagHelperTest.cs (1)
654return new ViewContext(
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewComponentResultExecutor.cs (1)
102var viewContext = new ViewContext(
ViewExecutor.cs (1)
157var viewContext = new ViewContext(
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (10)
DefaultHtmlGeneratorTest.cs (1)
1039return new ViewContext(
DefaultValidationHtmlAttributeProviderTest.cs (1)
259return new ViewContext(
Rendering\DefaultTemplatesUtilities.cs (1)
288var viewContext = new ViewContext(
Rendering\ViewContextTests.cs (2)
22var context = new ViewContext( 49var originalContext = new ViewContext(
ViewComponents\ContentViewComponentResultTest.cs (1)
42var viewContext = new ViewContext(
ViewComponents\HtmlContentViewComponentResultTest.cs (1)
42var viewContext = new ViewContext(
ViewComponents\ViewComponentContextTest.cs (2)
25var viewContext = new ViewContext( 87var viewContext = new ViewContext(
ViewComponents\ViewViewComponentResultTest.cs (1)
522var viewContext = new ViewContext(