2 types derived from ViewDataDictionary
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
63 instantiations of ViewDataDictionary
Microsoft.AspNetCore.Mvc.Razor.Test (10)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Microsoft.AspNetCore.Mvc.RazorPages.Test (12)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (15)
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (18)
377 references to ViewDataDictionary
Microsoft.AspNetCore.Mvc.Razor (5)
Microsoft.AspNetCore.Mvc.Razor.Test (18)
Microsoft.AspNetCore.Mvc.RazorPages (12)
Microsoft.AspNetCore.Mvc.RazorPages.Test (13)
Microsoft.AspNetCore.Mvc.TagHelpers (3)
Microsoft.AspNetCore.Mvc.TagHelpers.Test (8)
Microsoft.AspNetCore.Mvc.ViewFeatures (196)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (122)
Rendering\HtmlHelperPartialExtensionsTest.cs (25)
15public static TheoryData<Func<IHtmlHelper, IHtmlContent>, object, ViewDataDictionary> PartialExtensionMethods
19var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
21return new TheoryData<Func<IHtmlHelper, IHtmlContent>, object, ViewDataDictionary>
36ViewDataDictionary expectedViewData)
69ViewDataDictionary unusedViewData)
74helper.Setup(h => h.PartialAsync("test", It.IsAny<object>(), It.IsAny<ViewDataDictionary>()))
90public static TheoryData<Func<IHtmlHelper, Task<IHtmlContent>>, object, ViewDataDictionary> PartialAsyncExtensionMethods
94var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
96return new TheoryData<Func<IHtmlHelper, Task<IHtmlContent>>, object, ViewDataDictionary>
110ViewDataDictionary expectedViewData)
139public static TheoryData<Action<IHtmlHelper>, object, ViewDataDictionary> RenderPartialExtensionMethods
143var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
145return new TheoryData<Action<IHtmlHelper>, object, ViewDataDictionary>
160ViewDataDictionary unusedViewData)
165helper.Setup(h => h.RenderPartialAsync("test", It.IsAny<object>(), It.IsAny<ViewDataDictionary>()))
185ViewDataDictionary expectedViewData)
213public static TheoryData<Func<IHtmlHelper, Task>, object, ViewDataDictionary> RenderPartialAsyncExtensionMethods
217var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
219return new TheoryData<Func<IHtmlHelper, Task>, object, ViewDataDictionary>
233ViewDataDictionary expectedViewData)
266var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider())
310var passedInViewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
311var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider())
336var passedInViewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
386var viewData = new ViewDataDictionary(helper.MetadataProvider);