58 instantiations of ViewDataDictionary
Microsoft.AspNetCore.Mvc.Razor.Test (13)
Compilation\RazorPagePropertyActivatorTest.cs (4)
118var original = new ViewDataDictionary<object>(modelMetadataProvider, new ModelStateDictionary()) 147var original = new ViewDataDictionary<TestModel>(modelMetadataProvider, new ModelStateDictionary()) 176var original = new ViewDataDictionary<TestModel>(modelMetadataProvider, new ModelStateDictionary()) 203var original = new ViewDataDictionary<object>(modelMetadataProvider, new ModelStateDictionary());
RazorPageActivatorTest.cs (5)
52var viewData = new ViewDataDictionary<MyModel>(MetadataProvider, new ModelStateDictionary()); 88var viewData = new ViewDataDictionary<object>(MetadataProvider, new ModelStateDictionary()); 112var viewData = new ViewDataDictionary<object>(MetadataProvider, new ModelStateDictionary()) 160var viewData = new ViewDataDictionary<MyModel>(MetadataProvider, new ModelStateDictionary()); 175var viewData = new ViewDataDictionary<object>(MetadataProvider, new ModelStateDictionary())
RazorPageCreateModelExpressionTest.cs (4)
26var viewData = new ViewDataDictionary<string>(viewContext.ViewData) 51var viewData = new ViewDataDictionary<string>(viewContext.ViewData) 108var viewData = new ViewDataDictionary<RecursiveModel>(viewContext.ViewData); 314var viewData = new ViewDataDictionary<RazorPageCreateModelExpressionModel>(provider, new ModelStateDictionary());
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
221ViewData = new ViewDataDictionary<TestPage>(modelMetadataProvider, new ModelStateDictionary())
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
202var newViewData = new ViewDataDictionary<object>(baseViewData, model);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
LabelTagHelperTest.cs (1)
295var viewData = new ViewDataDictionary<NestedModel>(metadataProvider, viewContext.ModelState);
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
HtmlHelper.cs (1)
546var newViewData = new ViewDataDictionary<object>(baseViewData, model);
HtmlHelperOfT.cs (2)
73ViewData = new ViewDataDictionary<TModel>(viewContext.ViewData, viewContext.ViewData.Model); 156new ViewDataDictionary<TModelItem>(ViewData, model: null),
TemplateBuilder.cs (1)
74var viewData = new ViewDataDictionary<object>(_viewData);
ViewComponent.cs (1)
214var viewData = new ViewDataDictionary<TModel?>(ViewData, model);
ViewComponents\ViewComponentContext.cs (1)
61new ViewDataDictionary<object>(viewContext.ViewData),
ViewDataDictionaryOfT.cs (1)
44/// <see cref="ViewDataDictionary{TModel}(ViewDataDictionary, object)"/> to ignore <c>source.Model</c>.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (35)
DefaultHtmlGeneratorTest.cs (1)
1034var viewData = new ViewDataDictionary<TModel>(metadataProvider, actionContext.ModelState)
DefaultValidationHtmlAttributeProviderTest.cs (1)
254var viewData = new ViewDataDictionary<TModel>(metadataProvider, actionContext.ModelState)
Rendering\HtmlHelperSelectTest.cs (4)
422var viewData = new ViewDataDictionary<ModelContainingSources>(provider, modelState) 459var viewData = new ViewDataDictionary<ModelContainingSources>(provider, modelState) 825var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider, modelState) 862var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider, modelState)
ViewComponentTests.cs (8)
77Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData); 96Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData); 114Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData); 134Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData); 154Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData); 173Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData); 192Assert.Equal(new ViewDataDictionary<string>(viewComponent.ViewData), actualResult.ViewData); 212Assert.Equal(new ViewDataDictionary<object>(viewComponent.ViewData), actualResult.ViewData);
ViewDataDictionaryOfTModelTest.cs (21)
19var viewData = new ViewDataDictionary<string>(metadataProvider, modelState); 43var viewData1 = new ViewDataDictionary<object>(source); 82var viewData1 = new ViewDataDictionary<TestModel>(source); 144var viewData = new ViewDataDictionary<TestModel>(source); 163var viewData = new ViewDataDictionary<int>(source, model: null); 188var viewData1 = new ViewDataDictionary<string>(source); 189var viewData2 = new ViewDataDictionary<string>(source, model: null); 216var exception = Assert.Throws<InvalidOperationException>(() => new ViewDataDictionary<string>(source)); 219exception = Assert.Throws<InvalidOperationException>(() => new ViewDataDictionary<string>(source, model: 24)); 251var viewData = new ViewDataDictionary<object>(source, model); 274var viewData = new ViewDataDictionary<int?>(source, model); 293var viewData = new ViewDataDictionary<int?>(source); 315var viewData = new ViewDataDictionary<TestModel>(source, model); 332var viewData2 = new ViewDataDictionary<int>(viewData1); 333var viewData3 = new ViewDataDictionary<int>(viewData2, model: null); 355var viewData2 = new ViewDataDictionary<string>(viewData1); 356var viewData3 = new ViewDataDictionary<string>(viewData2, model: null); 380var viewData2 = (ViewDataDictionary)new ViewDataDictionary<string>(viewData1); 381var viewData3 = (ViewDataDictionary)new ViewDataDictionary<string>(viewData2, model: null); 407var viewData2 = (ViewDataDictionary)new ViewDataDictionary<int>(viewData1); 408var viewData3 = (ViewDataDictionary)new ViewDataDictionary<int>(viewData2, model: null);
199 references to ViewDataDictionary
Microsoft.AspNetCore.Mvc.Razor (2)
RazorPageOfT.cs (1)
24public ViewDataDictionary<TModel> ViewData { get; set; } = default!;
RazorPagePropertyActivator.cs (1)
35_viewDataDictionaryType = typeof(ViewDataDictionary<>).MakeGenericType(viewDataDictionaryModelType);
Microsoft.AspNetCore.Mvc.Razor.Test (24)
Compilation\RazorPagePropertyActivatorTest.cs (10)
28Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 47Assert.IsType<ViewDataDictionary<object>>(viewDataDictionary); 75Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 104Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 118var original = new ViewDataDictionary<object>(modelMetadataProvider, new ModelStateDictionary()) 133Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 147var original = new ViewDataDictionary<TestModel>(modelMetadataProvider, new ModelStateDictionary()) 162Assert.IsType<ViewDataDictionary<object>>(viewDataDictionary); 176var original = new ViewDataDictionary<TestModel>(modelMetadataProvider, new ModelStateDictionary()) 203var original = new ViewDataDictionary<object>(modelMetadataProvider, new ModelStateDictionary());
RazorPageActivatorTest.cs (7)
52var viewData = new ViewDataDictionary<MyModel>(MetadataProvider, new ModelStateDictionary()); 88var viewData = new ViewDataDictionary<object>(MetadataProvider, new ModelStateDictionary()); 112var viewData = new ViewDataDictionary<object>(MetadataProvider, new ModelStateDictionary()) 160var viewData = new ViewDataDictionary<MyModel>(MetadataProvider, new ModelStateDictionary()); 175var viewData = new ViewDataDictionary<object>(MetadataProvider, new ModelStateDictionary()) 189Assert.IsType<ViewDataDictionary<Guid>>(viewContext.ViewData); 329public ViewDataDictionary<object> MoreViewData { get; set; }
RazorPageCreateModelExpressionTest.cs (7)
26var viewData = new ViewDataDictionary<string>(viewContext.ViewData) 51var viewData = new ViewDataDictionary<string>(viewContext.ViewData) 108var viewData = new ViewDataDictionary<RecursiveModel>(viewContext.ViewData); 278ViewData = (ViewDataDictionary<string>)viewContext.ViewData, 288ViewData = (ViewDataDictionary<RecursiveModel>)viewContext.ViewData, 298ViewData = (ViewDataDictionary<RazorPageCreateModelExpressionModel>)viewContext.ViewData, 314var viewData = new ViewDataDictionary<RazorPageCreateModelExpressionModel>(provider, new ModelStateDictionary());
Microsoft.AspNetCore.Mvc.RazorPages.Test (9)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (2)
497public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EmptyPage> ViewData => null; 519public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<EmptyPageModel> ViewData => null;
Infrastructure\DefaultPageFactoryProviderTest.cs (2)
430public ViewDataDictionary<TestPage> ViewData { get; set; } 452public ViewDataDictionary<ViewDataTestPageModel> ViewData { get; set; }
Infrastructure\PageActionInvokerProviderTest.cs (1)
145Assert.NotNull(Assert.IsType<ViewDataDictionary<TestPageModel>>(pageContext.ViewData));
Infrastructure\PageActionInvokerTest.cs (4)
200Assert.IsType<ViewDataDictionary<TestPage>>(page.ViewContext.ViewData); 256Assert.IsType<ViewDataDictionary<PocoModel>>(page.PageContext.ViewData); 316Assert.IsType<ViewDataDictionary<TestPageModel>>(pageModel.PageContext.ViewData); 481Assert.IsType<ViewDataDictionary<TestPage>>(pageResult.ViewData);
Microsoft.AspNetCore.Mvc.TagHelpers (1)
PartialTagHelper.cs (1)
202var newViewData = new ViewDataDictionary<object>(baseViewData, model);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (1)
LabelTagHelperTest.cs (1)
295var viewData = new ViewDataDictionary<NestedModel>(metadataProvider, viewContext.ModelState);
Microsoft.AspNetCore.Mvc.ViewFeatures (45)
ExpressionMetadataProvider.cs (1)
16ViewDataDictionary<TModel> viewData,
HtmlHelper.cs (1)
546var newViewData = new ViewDataDictionary<object>(baseViewData, model);
HtmlHelperOfT.cs (3)
45public new ViewDataDictionary<TModel> ViewData { get; private set; } 60ViewData = viewContext.ViewData as ViewDataDictionary<TModel>; 83typeof(ViewDataDictionary<TModel>).FullName),
IModelExpressionProvider.cs (4)
16/// <typeparam name="TModel">The type of the <paramref name="viewData"/>'s <see cref="ViewDataDictionary{T}.Model"/>.</typeparam> 18/// <param name="viewData">The <see cref="ViewDataDictionary{TModel}"/> containing the <see cref="ViewDataDictionary{T}.Model"/> 23ViewDataDictionary<TModel> viewData,
ModelExpressionProvider.cs (5)
46ViewDataDictionary<TModel> viewData, 66/// <typeparam name="TModel">The type of the <paramref name="viewData"/>'s <see cref="ViewDataDictionary{T}.Model"/>.</typeparam> 67/// <param name="viewData">The <see cref="ViewDataDictionary{TModel}"/> containing the <see cref="ViewDataDictionary{T}.Model"/> 72ViewDataDictionary<TModel> viewData,
Rendering\HtmlHelperDisplayExtensions.cs (7)
58/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 139/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 255/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 332/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 439/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 501/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 578/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
Rendering\HtmlHelperEditorExtensions.cs (7)
58/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 136/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 248/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 321/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 424/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 486/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template. 563/// <see cref="ViewFeatures.ViewDataDictionary{TModel}"/> instance created for the template.
Rendering\IHtmlHelper.cs (2)
210/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the 302/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the
Rendering\IHtmlHelperOfT.cs (3)
19new ViewDataDictionary<TModel> ViewData { get; } 60/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the 161/// view data that will be merged into the <see cref="ViewDataDictionary{TModel}"/> instance created for the
TemplateBuilder.cs (1)
74var viewData = new ViewDataDictionary<object>(_viewData);
ViewComponent.cs (1)
214var viewData = new ViewDataDictionary<TModel?>(ViewData, model);
ViewDataDictionary.cs (2)
51/// <see cref="Type"/> will not change e.g. when copying from a <see cref="ViewDataDictionary{TModel}"/> 143/// <see cref="ViewDataDictionary{TModel}"/> instance.
ViewDataDictionaryFactory.cs (2)
16var type = typeof(ViewDataDictionary<>).MakeGenericType(modelType); 37var type = typeof(ViewDataDictionary<>).MakeGenericType(modelType);
ViewDataDictionaryOfT.cs (6)
17/// Initializes a new instance of the <see cref="ViewDataDictionary{TModel}"/> class. 20/// For use when creating a <see cref="ViewDataDictionary{TModel}"/> for a new top-level scope. 32/// Initializes a new instance of the <see cref="ViewDataDictionary{TModel}"/> class based in part on an 39/// <see cref="ViewDataDictionary"/> instance to a <see cref="ViewDataDictionary{TModel}"/> instance. 55/// Initializes a new instance of the <see cref="ViewDataDictionary{TModel}"/> class based in part on an 79/// Initializes a new instance of the <see cref="ViewDataDictionary{TModel}"/> class.
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (115)
ControllerTest.cs (1)
40var replacementViewData = new ViewDataDictionary<object>(metadataProvider);
DefaultDisplayTemplatesTest.cs (1)
241var viewData = html.ViewData;
DefaultEditorTemplatesTest.cs (2)
529var viewData = helper.ViewData; 553var viewData = helper.ViewData;
DefaultHtmlGeneratorTest.cs (1)
1034var viewData = new ViewDataDictionary<TModel>(metadataProvider, actionContext.ModelState)
DefaultValidationHtmlAttributeProviderTest.cs (1)
254var viewData = new ViewDataDictionary<TModel>(metadataProvider, actionContext.ModelState)
ExpressionMetadataProviderTest.cs (10)
22var viewData = new ViewDataDictionary<TestModel>(provider); 40var viewData = new ViewDataDictionary<TestModel>(provider); 58var viewData = new ViewDataDictionary<TestModel[]>(provider); 76var viewData = new ViewDataDictionary<TestModel[]>(provider); 99var viewData = new ViewDataDictionary<TestModel>(provider); 124var viewData = new ViewDataDictionary<TestModel>(provider); 143var viewData = new ViewDataDictionary<TestModel>(provider); 162var viewData = new ViewDataDictionary<ExpressionMetadataProviderTest>(provider); 184var viewData = new ViewDataDictionary<ExpressionMetadataProviderTest>(provider); 206var viewData = new ViewDataDictionary<ExpressionMetadataProviderTest>(provider);
Rendering\DefaultTemplatesUtilities.cs (5)
83public static HtmlHelper<TModel> GetHtmlHelper<TModel>(ViewDataDictionary<TModel> viewData) 97ViewDataDictionary<TModel> viewData, 119var viewData = new ViewDataDictionary<TModel>(provider); 204var viewData = new ViewDataDictionary<TModel>(provider); 219ViewDataDictionary<TModel> viewData,
Rendering\HtmlHelperCheckboxTest.cs (7)
569var viewData = GetTestModelViewData(); 594var viewData = GetTestModelViewData(); 638var viewDataDictionary = new ViewDataDictionary<ModelWithValidation>(metadataProvider) 664var viewData = GetTestModelViewData(); 827private static ViewDataDictionary<TestModel> GetTestModelViewData() 837private static ViewDataDictionary<ModelWithValidation> GetModelWithValidationViewData() 840var viewData = new ViewDataDictionary<ModelWithValidation>(provider)
Rendering\HtmlHelperDisplayTextTest.cs (2)
258var viewData = helper.ViewData; 283var viewData = helper.ViewData;
Rendering\HtmlHelperHiddenTest.cs (11)
529var viewData = GetViewDataWithModelStateAndModelAndViewDataValues(); 568var viewData = GetViewDataWithModelStateAndModelAndViewDataValues(); 800var viewData = GetViewDataWithModelStateAndModelAndViewDataValues(); 854var viewData = GetViewDataWithNullModelAndNonNullViewData(); 942private static ViewDataDictionary<HiddenModel> GetViewDataWithNullModelAndNonNullViewData() 950private static ViewDataDictionary<HiddenModel> GetViewDataWithNonNullModel() 952var viewData = new ViewDataDictionary<HiddenModel>(new EmptyModelMetadataProvider()) 960private static ViewDataDictionary<HiddenModel> GetViewDataWithModelStateAndModelAndViewDataValues() 962var viewData = GetViewDataWithNonNullModel(); 969private static ViewDataDictionary<HiddenModel> GetViewDataWithErrors() 971var viewData = GetViewDataWithModelStateAndModelAndViewDataValues();
Rendering\HtmlHelperPartialExtensionsTest.cs (6)
417var viewData = helper.ViewData; 446var viewData = helper.ViewData; 477var viewData = helper.ViewData; 506var viewData = helper.ViewData; 535var viewData = helper.ViewData; 566var viewData = helper.ViewData;
Rendering\HtmlHelperPasswordTest.cs (15)
36public static TheoryData<ViewDataDictionary<PasswordModel>, object> PasswordWithViewDataAndAttributesData 40var nullModelViewData = GetViewDataWithNullModelAndNonEmptyViewData(); 41var viewData = GetViewDataWithModelStateAndModelAndViewDataValues(); 44var data = new TheoryData<ViewDataDictionary<PasswordModel>, object>(); 58ViewDataDictionary<PasswordModel> viewData, 77ViewDataDictionary<PasswordModel> viewData, 182var vdd = GetViewDataWithErrors(); 240var viewData = GetViewDataWithModelStateAndModelAndViewDataValues(); 290var vdd = GetViewDataWithErrors(); 355var viewData = GetViewDataWithModelStateAndModelAndViewDataValues(); 446private static ViewDataDictionary<PasswordModel> GetViewDataWithNullModelAndNonEmptyViewData() 454private static ViewDataDictionary<PasswordModel> GetViewDataWithModelStateAndModelAndViewDataValues() 456var viewData = GetViewDataWithNullModelAndNonEmptyViewData(); 463private static ViewDataDictionary<PasswordModel> GetViewDataWithErrors() 465var viewData = GetViewDataWithModelStateAndModelAndViewDataValues();
Rendering\HtmlHelperSelectTest.cs (10)
422var viewData = new ViewDataDictionary<ModelContainingSources>(provider, modelState) 459var viewData = new ViewDataDictionary<ModelContainingSources>(provider, modelState) 485var viewData = new ViewDataDictionary<ModelContainingSources>(provider) 512var viewData = new ViewDataDictionary<ModelContainingSources>(provider) 540var viewData = new ViewDataDictionary<ModelContainingSources>(provider) 825var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider, modelState) 862var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider, modelState) 888var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider) 915var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider) 943var viewData = new ViewDataDictionary<ModelContainingListOfSources>(provider)
Rendering\HtmlHelperTest.cs (4)
302Assert.IsType<ViewDataDictionary<BaseModel>>( 320$"'{typeof(ViewDataDictionary<NonDerivedModel>).FullName}'," + 321$" but this method requires a value of type '{typeof(ViewDataDictionary<BaseModel>).FullName}'."; 342$" but this method requires a value of type '{typeof(ViewDataDictionary<BaseModel>).FullName}'.";
Rendering\HtmlHelperValueTest.cs (2)
159var viewData = helper.ViewData; 217var viewData = helper.ViewData;
ViewComponents\ViewComponentContextTest.cs (1)
86var viewData = new ViewDataDictionary<int>(new EmptyModelMetadataProvider());
ViewComponentTests.cs (6)
112Assert.IsType<ViewDataDictionary<object>>(actualResult.ViewData); 132Assert.IsType<ViewDataDictionary<object>>(actualResult.ViewData); 152Assert.IsType<ViewDataDictionary<object>>(actualResult.ViewData); 171Assert.IsType<ViewDataDictionary<object>>(actualResult.ViewData); 190Assert.IsType<ViewDataDictionary<string>>(actualResult.ViewData); 210Assert.IsType<ViewDataDictionary<object>>(actualResult.ViewData);
ViewDataDictionaryOfTModelTest.cs (25)
19var viewData = new ViewDataDictionary<string>(metadataProvider, modelState); 35var source = new ViewDataDictionary<object>(metadataProvider) 43var viewData1 = new ViewDataDictionary<object>(source); 77var source = new ViewDataDictionary<TestModel>(metadataProvider); 82var viewData1 = new ViewDataDictionary<TestModel>(source); 144var viewData = new ViewDataDictionary<TestModel>(source); 163var viewData = new ViewDataDictionary<int>(source, model: null); 185var source = new ViewDataDictionary<int>(metadataProvider); 188var viewData1 = new ViewDataDictionary<string>(source); 189var viewData2 = new ViewDataDictionary<string>(source, model: null); 210var source = new ViewDataDictionary<int>(metadataProvider) 248var source = new ViewDataDictionary<TestModel>(new EmptyModelMetadataProvider()); 251var viewData = new ViewDataDictionary<object>(source, model); 268var source = new ViewDataDictionary<int?>(metadataProvider) 274var viewData = new ViewDataDictionary<int?>(source, model); 290var source = new ViewDataDictionary<string>(metadataProvider); 293var viewData = new ViewDataDictionary<int?>(source); 309var source = new ViewDataDictionary<TestModel>(metadataProvider) 315var viewData = new ViewDataDictionary<TestModel>(source, model); 331var viewData1 = new ViewDataDictionary<int>(metadataProvider); 332var viewData2 = new ViewDataDictionary<int>(viewData1); 333var viewData3 = new ViewDataDictionary<int>(viewData2, model: null); 354var viewData1 = new ViewDataDictionary<string>(metadataProvider); 355var viewData2 = new ViewDataDictionary<string>(viewData1); 356var viewData3 = new ViewDataDictionary<string>(viewData2, model: null);
ViewDataOfTTest.cs (5)
14var viewDataOfT = new ViewDataDictionary<int>(new EmptyModelMetadataProvider()); 26var viewDataOfT = new ViewDataDictionary<string>(new EmptyModelMetadataProvider()); 39var viewDataOfT = new ViewDataDictionary<object>(new EmptyModelMetadataProvider()); 53var viewData = new ViewDataDictionary<string>(new EmptyModelMetadataProvider()); 80var viewData = new ViewDataDictionary<string>(new EmptyModelMetadataProvider());
RazorBuildWebSite.Views (2)
Pages\Rzc\Page.cs (2)
37public global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Page_Model> ViewData => (global::Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary<Page_Model>)PageContext?.ViewData;