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