13 writes to ViewContext
Microsoft.AspNetCore.Mvc.TagHelpers.Test (13)
InputTagHelperTest.cs (13)
271ViewContext = viewContext,
315ViewContext = viewContext,
369ViewContext = viewContext,
425ViewContext = viewContext,
481ViewContext = viewContext,
531ViewContext = viewContext,
854ViewContext = viewContext,
932ViewContext = viewContext,
992ViewContext = viewContext,
1052ViewContext = viewContext,
1112ViewContext = viewContext,
1354ViewContext = viewContext,
2411ViewContext = viewContext,
32 references to ViewContext
Microsoft.AspNetCore.Mvc.TagHelpers (13)
InputTagHelper.cs (13)
213string.IsNullOrEmpty(ViewContext.ViewData.TemplateInfo.HtmlFieldPrefix) &&
235ViewContext,
257ViewContext.FormContext.InvariantField(fullName))
327if (ViewContext.CheckBoxHiddenInputRenderMode != CheckBoxHiddenInputRenderMode.None)
330var hiddenForCheckboxTag = Generator.GenerateHiddenForCheckbox(ViewContext, modelExplorer, For.Name);
355if (ViewContext.CheckBoxHiddenInputRenderMode == CheckBoxHiddenInputRenderMode.EndOfForm && ViewContext.FormContext.CanRenderAtEndOfForm)
357ViewContext.FormContext.EndOfFormContent.Add(hiddenForCheckboxTag);
367ViewContext,
387ViewContext,
432ViewContext,
468return Generator.GenerateTextBox(ViewContext, modelExplorer, For.Name, value, Format, htmlAttributes);
488else if (ViewContext.Html5DateRenderingMode == Html5DateRenderingMode.Rfc3339 &&
Microsoft.AspNetCore.Mvc.TagHelpers.Test (19)
InputTagHelperTest.cs (19)
868tagHelper.ViewContext,
1188tagHelper.ViewContext,
1197tagHelper.ViewContext,
1299tagHelper.ViewContext,
1465tagHelper.ViewContext,
1559tagHelper.ViewContext,
1677tagHelper.ViewContext,
1793tagHelper.ViewContext,
1857tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339;
1862tagHelper.ViewContext,
1926tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339;
1931tagHelper.ViewContext,
2020tagHelper.ViewContext.Html5DateRenderingMode = dateRenderingMode;
2025tagHelper.ViewContext,
2104tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339;
2161tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.Rfc3339;
2235tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.CurrentCulture;
2296tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.CurrentCulture;
2359tagHelper.ViewContext.Html5DateRenderingMode = Html5DateRenderingMode.CurrentCulture;