31 references to GetViewContext
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (31)
DefaultHtmlGeneratorTest.cs (31)
32var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 53var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 73var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 86var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 114var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 142var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 169var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 198var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 222var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 246var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 268var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 290var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 313var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 365var viewContext = GetViewContext<Model>(model: null, metadataProvider, htmlHelperOptions); 395var viewContext = GetViewContext<Model>(model: null, metadataProvider, htmlHelperOptions); 421var viewContext = GetViewContext<ModelWithMaxLengthMetadata>(model: null, metadataProvider: metadataProvider); 442var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 469var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 498var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 521var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 588var viewContext = GetViewContext<Model>(model, metadataProvider); 616var viewContext = GetViewContext<Model>(model, metadataProvider); 664var viewContext = GetViewContext<Model>(model, metadataProvider); 692var viewContext = GetViewContext<Model>(model, metadataProvider); 716var viewContext = GetViewContext<Model>(model, metadataProvider); 770var viewContext = GetViewContext<Model>(model, metadataProvider); 799var viewContext = GetViewContext<Model>(model, metadataProvider); 826var viewContext = GetViewContext<Model>(model, metadataProvider); 938var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 965var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider); 990var viewContext = GetViewContext<Model>(model: null, metadataProvider: metadataProvider);