60 references to ViewContext
Microsoft.AspNetCore.Mvc.Localization.Test (10)
ViewLocalizerTest.cs (10)
35
var viewContext = new
ViewContext
();
70
var viewContext = new
ViewContext
();
102
var viewContext = new
ViewContext
();
126
var viewContext = new
ViewContext
();
151
var viewContext = new
ViewContext
();
177
var viewContext = new
ViewContext
();
201
var viewContext = new
ViewContext
();
225
var viewContext = new
ViewContext
();
249
var viewContext = new
ViewContext
();
273
var viewContext = new
ViewContext
();
Microsoft.AspNetCore.Mvc.Razor.Test (12)
Compilation\RazorPagePropertyActivatorTest.cs (8)
21
var viewContext = new
ViewContext
();
40
var viewContext = new
ViewContext
();
64
var viewContext = new
ViewContext
93
var viewContext = new
ViewContext
122
var viewContext = new
ViewContext
151
var viewContext = new
ViewContext
180
var viewContext = new
ViewContext
204
var viewContext = new
ViewContext
TagHelpers\UrlResolutionTagHelperTest.cs (4)
115
ViewContext = new Rendering.
ViewContext
{ HttpContext = new DefaultHttpContext() }
175
ViewContext = new Rendering.
ViewContext
{ HttpContext = new DefaultHttpContext() }
369
ViewContext = new Rendering.
ViewContext
{ HttpContext = new DefaultHttpContext() }
415
ViewContext = new Rendering.
ViewContext
{ HttpContext = httpContext }
Microsoft.AspNetCore.Mvc.RazorPages.Test (23)
Infrastructure\DefaultPageActivatorProviderTest.cs (5)
34
var viewContext = new
ViewContext
();
111
var viewContext = new
ViewContext
();
132
var viewContext = new
ViewContext
();
153
var viewContext = new
ViewContext
();
174
var viewContext = new
ViewContext
();
Infrastructure\DefaultPageFactoryProviderTest.cs (10)
53
var viewContext = new
ViewContext
();
77
var viewContext = new
ViewContext
();
120
var viewContext = new
ViewContext
();
145
var viewContext = new
ViewContext
();
172
var viewContext = new
ViewContext
();
197
var viewContext = new
ViewContext
();
227
var viewContext = new
ViewContext
()
266
var viewContext = new
ViewContext
()
309
var viewContext = new
ViewContext
()
347
var viewContext = new
ViewContext
()
Infrastructure\DefaultPageModelActivatorProviderTest.cs (3)
157
var viewContext = new
ViewContext
();
178
var viewContext = new
ViewContext
();
199
var viewContext = new
ViewContext
();
PageTest.cs (5)
1716
ViewContext = new
ViewContext
1741
ViewContext = new
ViewContext
1766
ViewContext = new
ViewContext
1788
ViewContext = new
ViewContext
1810
ViewContext = new
ViewContext
Microsoft.AspNetCore.Mvc.TagHelpers.Test (12)
ComponentTagHelperTest.cs (1)
97
return new
ViewContext
{ HttpContext = httpContext };
DefaultTagHelperActivatorTest.cs (1)
66
var viewContext = new
ViewContext
FormActionTagHelperTest.cs (7)
48
var viewContext = new
ViewContext
();
123
var viewContext = new
ViewContext
();
228
var viewContext = new
ViewContext
();
287
var viewContext = new
ViewContext
();
359
var viewContext = new
ViewContext
();
413
var viewContext = new
ViewContext
();
477
var viewContext = new
ViewContext
PersistComponentStateTagHelperTest.cs (1)
268
return new
ViewContext
{ HttpContext = httpContext };
RenderAtEndOfFormTagHelperTest.cs (2)
46
var viewContext = new
ViewContext
();
87
var viewContext = new
ViewContext
();
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewComponents\ViewComponentContext.cs (1)
26
ViewContext = new
ViewContext
();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ViewComponents\DefaultViewComponentActivatorTests.cs (1)
89
ViewContext = new
ViewContext
ViewComponentTests.cs (1)
242
var viewContext = new
ViewContext
();