19 references to ViewDataDictionary
Microsoft.AspNetCore.Mvc.Razor.Test (10)
Compilation\RazorPagePropertyActivatorTest.cs (4)
118
var original = new
ViewDataDictionary
<object>(modelMetadataProvider, new ModelStateDictionary())
147
var original = new
ViewDataDictionary
<TestModel>(modelMetadataProvider, new ModelStateDictionary())
176
var original = new
ViewDataDictionary
<TestModel>(modelMetadataProvider, new ModelStateDictionary())
203
var original = new
ViewDataDictionary
<object>(modelMetadataProvider, new ModelStateDictionary());
RazorPageActivatorTest.cs (5)
52
var viewData = new
ViewDataDictionary
<MyModel>(MetadataProvider, new ModelStateDictionary());
88
var viewData = new
ViewDataDictionary
<object>(MetadataProvider, new ModelStateDictionary());
112
var viewData = new
ViewDataDictionary
<object>(MetadataProvider, new ModelStateDictionary())
160
var viewData = new
ViewDataDictionary
<MyModel>(MetadataProvider, new ModelStateDictionary());
175
var viewData = new
ViewDataDictionary
<object>(MetadataProvider, new ModelStateDictionary())
RazorPageCreateModelExpressionTest.cs (1)
314
var viewData = new
ViewDataDictionary
<RazorPageCreateModelExpressionModel>(provider, new ModelStateDictionary());
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
221
ViewData = new
ViewDataDictionary
<TestPage>(modelMetadataProvider, new ModelStateDictionary())
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
LabelTagHelperTest.cs (1)
295
var viewData = new
ViewDataDictionary
<NestedModel>(metadataProvider, viewContext.ModelState);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (7)
DefaultHtmlGeneratorTest.cs (1)
1034
var viewData = new
ViewDataDictionary
<TModel>(metadataProvider, actionContext.ModelState)
DefaultValidationHtmlAttributeProviderTest.cs (1)
254
var viewData = new
ViewDataDictionary
<TModel>(metadataProvider, actionContext.ModelState)
Rendering\HtmlHelperSelectTest.cs (4)
422
var viewData = new
ViewDataDictionary
<ModelContainingSources>(provider, modelState)
459
var viewData = new
ViewDataDictionary
<ModelContainingSources>(provider, modelState)
825
var viewData = new
ViewDataDictionary
<ModelContainingListOfSources>(provider, modelState)
862
var viewData = new
ViewDataDictionary
<ModelContainingListOfSources>(provider, modelState)
ViewDataDictionaryOfTModelTest.cs (1)
19
var viewData = new
ViewDataDictionary
<string>(metadataProvider, modelState);