16 references to ViewDataDictionary
Microsoft.AspNetCore.Mvc.TagHelpers (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (10)
ViewDataDictionaryOfTModelTest.cs (10)
163var viewData = new ViewDataDictionary<int>(source, model: null);
189var viewData2 = new ViewDataDictionary<string>(source, model: null);
219exception = Assert.Throws<InvalidOperationException>(() => new ViewDataDictionary<string>(source, model: 24));
251var viewData = new ViewDataDictionary<object>(source, model);
274var viewData = new ViewDataDictionary<int?>(source, model);
315var viewData = new ViewDataDictionary<TestModel>(source, model);
333var viewData3 = new ViewDataDictionary<int>(viewData2, model: null);
356var viewData3 = new ViewDataDictionary<string>(viewData2, model: null);
381var viewData3 = (ViewDataDictionary)new ViewDataDictionary<string>(viewData2, model: null);
408var viewData3 = (ViewDataDictionary)new ViewDataDictionary<int>(viewData2, model: null);