42 references to GetViewContext
Microsoft.AspNetCore.Mvc.TagHelpers.Test (42)
AnchorTagHelperTest.cs (1)
56var viewContext = TestableHtmlGenerator.GetViewContext(
FormTagHelperTest.cs (6)
96var viewContext = TestableHtmlGenerator.GetViewContext( 150var viewContext = TestableHtmlGenerator.GetViewContext( 210var viewContext = TestableHtmlGenerator.GetViewContext( 268var viewContext = TestableHtmlGenerator.GetViewContext( 332var viewContext = TestableHtmlGenerator.GetViewContext( 594var viewContext = TestableHtmlGenerator.GetViewContext(
InputTagHelperTest.cs (13)
266var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 309var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 361var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 417var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 473var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 522var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 848var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator.Object, metadataProvider); 923var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 982var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 1042var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 1102var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 1344var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 2407var viewContext = TestableHtmlGenerator.GetViewContext(container, htmlGenerator, metadataProvider);
LabelTagHelperTest.cs (2)
211var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 290var viewContext = TestableHtmlGenerator.GetViewContext(
OptionTagHelperTest.cs (2)
421var viewContext = TestableHtmlGenerator.GetViewContext( 493var viewContext = TestableHtmlGenerator.GetViewContext(
SelectTagHelperTest.cs (9)
227var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 317var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 403var viewContext = TestableHtmlGenerator.GetViewContext( 497var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 577var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator.Object, metadataProvider); 659var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator.Object, metadataProvider); 716var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 748var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 794var viewContext = TestableHtmlGenerator.GetViewContext(
TextAreaTagHelperTest.cs (3)
144var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 171var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 204var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider);
ValidationMessageTagHelperTest.cs (3)
63var viewContext = TestableHtmlGenerator.GetViewContext( 100var viewContext = TestableHtmlGenerator.GetViewContext( 142var viewContext = TestableHtmlGenerator.GetViewContext(
ValidationSummaryTagHelperTest.cs (3)
243var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 313var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider); 629var viewContext = TestableHtmlGenerator.GetViewContext(model, htmlGenerator, metadataProvider);