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