49 references to ViewDataDictionary
Microsoft.AspNetCore.Mvc.Razor.Test (10)
Compilation\RazorPagePropertyActivatorTest.cs (2)
60
var original = new
ViewDataDictionary
(modelMetadataProvider, new ModelStateDictionary())
89
var original = new
ViewDataDictionary
(modelMetadataProvider, new ModelStateDictionary())
DefaultTagHelperFactoryTest.cs (1)
157
var viewData = new
ViewDataDictionary
(metadataProvider, new ModelStateDictionary());
Infrastructure\DefaultTagHelperActivatorTest.cs (1)
43
var viewData = new
ViewDataDictionary
(metadataProvider, new ModelStateDictionary());
RazorPageActivatorTest.cs (1)
243
viewData = new
ViewDataDictionary
(MetadataProvider, new ModelStateDictionary());
RazorPageCreateTagHelperTest.cs (1)
94
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
RazorPageTest.cs (1)
1431
new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
RazorViewTest.cs (3)
61
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
99
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
1797
new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageBase.cs (1)
1185
var viewData = new
ViewDataDictionary
(MetadataProvider, ViewContext.ViewData.ModelState)
PageModel.cs (1)
1543
var viewData = new
ViewDataDictionary
(MetadataProvider, ViewData.ModelState)
Microsoft.AspNetCore.Mvc.RazorPages.Test (12)
Filters\PageViewDataAttributeFilterTest.cs (1)
71
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
PageModelTest.cs (5)
1726
var viewData = new
ViewDataDictionary
(modelMetadataProvider, modelState);
1940
var viewData = new
ViewDataDictionary
(modelMetadataProvider, new ModelStateDictionary());
1964
var viewData = new
ViewDataDictionary
(modelMetadataProvider, new ModelStateDictionary());
1988
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
2010
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
PageTest.cs (6)
26
var viewData = new
ViewDataDictionary
(modelMetadataProvider, modelState);
1713
var viewData = new
ViewDataDictionary
(modelMetadataProvider, new ModelStateDictionary());
1738
var viewData = new
ViewDataDictionary
(modelMetadataProvider, new ModelStateDictionary());
1763
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
1785
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
1807
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
Microsoft.AspNetCore.Mvc.TagHelpers.Test (15)
CacheTagHelperTest.cs (1)
935
new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
CacheTagKeyTest.cs (1)
543
new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
DistributedCacheTagHelperTest.cs (1)
741
new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
FormTagHelperTest.cs (1)
1164
new
ViewDataDictionary
(new TestModelMetadataProvider(), new ModelStateDictionary()),
ImageTagHelperTest.cs (1)
300
var viewData = new
ViewDataDictionary
(metadataProvider, new ModelStateDictionary());
LinkTagHelperTest.cs (1)
1131
var viewData = new
ViewDataDictionary
(metadataProvider, new ModelStateDictionary());
PartialTagHelperTest.cs (5)
42
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary())
276
var viewData = new
ViewDataDictionary
(new TestModelMetadataProvider(), new ModelStateDictionary());
578
var viewData = new
ViewDataDictionary
(new TestModelMetadataProvider(), new ModelStateDictionary());
715
var viewData = new
ViewDataDictionary
(new TestModelMetadataProvider(), new ModelStateDictionary());
843
new
ViewDataDictionary
(new TestModelMetadataProvider(), new ModelStateDictionary()),
ScriptTagHelperTest.cs (1)
1112
var viewData = new
ViewDataDictionary
(metadataProvider, new ModelStateDictionary());
TestableHtmlGenerator.cs (1)
79
var viewData = new
ViewDataDictionary
(metadataProvider, modelState)
ValidationMessageTagHelperTest.cs (1)
473
new
ViewDataDictionary
(
ValidationSummaryTagHelperTest.cs (1)
657
new
ViewDataDictionary
(
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
Controller.cs (1)
46
_viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), ControllerContext.ModelState);
Rendering\ViewContext.cs (1)
34
ViewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), ModelState);
ViewComponentResultExecutor.cs (1)
77
viewData = new
ViewDataDictionary
(_modelMetadataProvider, context.ModelState);
ViewDataDictionary.cs (1)
73
:
this
(metadataProvider, new ModelStateDictionary())
ViewDataDictionaryControllerPropertyActivator.cs (1)
90
return new
ViewDataDictionary
(
ViewExecutor.cs (1)
149
viewData = new
ViewDataDictionary
(ModelMetadataProvider, actionContext.ModelState);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ControllerTest.cs (1)
433
var viewData = new
ViewDataDictionary
(metadataProvider, new ModelStateDictionary());
Filters\ControllerViewDataAttributeFilterTest.cs (1)
66
var viewData = new
ViewDataDictionary
(new EmptyModelMetadataProvider(), new ModelStateDictionary());
ViewDataDictionaryTest.cs (2)
37
var viewData = new
ViewDataDictionary
(metadataProvider, modelState);
59
var viewData = new
ViewDataDictionary
(metadataProvider.Object, modelState);