2 implementations of ViewContext
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlHelper.cs (1)
95
public ViewContext
ViewContext
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
DefaultEditorTemplatesTest.cs (1)
1384
public ViewContext
ViewContext
12 references to ViewContext
Microsoft.AspNetCore.Mvc.ViewFeatures (10)
DefaultDisplayTemplates.cs (4)
92
var serviceProvider = htmlHelper.
ViewContext
.HttpContext.RequestServices;
130
htmlHelper.
ViewContext
,
208
var serviceProvider = htmlHelper.
ViewContext
.HttpContext.RequestServices;
224
htmlHelper.
ViewContext
,
DefaultEditorTemplates.cs (5)
74
var serviceProvider = htmlHelper.
ViewContext
.HttpContext.RequestServices;
112
htmlHelper.
ViewContext
,
222
value: htmlHelper.
ViewContext
.ViewData.TemplateInfo.FormattedModelValue.ToString(),
250
var serviceProvider = htmlHelper.
ViewContext
.HttpContext.RequestServices;
266
htmlHelper.
ViewContext
,
Rendering\HtmlHelperComponentExtensions.cs (1)
62
var httpContext = htmlHelper.
ViewContext
.HttpContext;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
DefaultEditorTemplatesTest.cs (2)
256
helperMock.SetupGet(h => h.
ViewContext
).Returns(helperToCopy.ViewContext);
1386
get { return _innerHelper.
ViewContext
; }