3 writes to ViewData
Microsoft.AspNetCore.Mvc.Razor.Test (3)
19 references to ViewData
Microsoft.AspNetCore.Mvc.Razor (2)
Microsoft.AspNetCore.Mvc.Razor.Test (17)
RazorPageCreateModelExpressionTest.cs (14)
137var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => somethingElse);
155var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.Id);
173var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.Id);
191var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.SubSubModel.Id);
210var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => somethingElse);
228var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.Name);
246var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.SubSubModel.Name);
264var result = page.ModelExpressionProvider.CreateModelExpression(page.ViewData, model => model.SubModel.Name);
337return ModelExpressionProvider.CreateModelExpression(ViewData, m => m);
342return ModelExpressionProvider.CreateModelExpression(ViewData, m => Model);
355return ModelExpressionProvider.CreateModelExpression(ViewData, m => m.Model);
360return ModelExpressionProvider.CreateModelExpression(ViewData, m => ViewData.Model);
365return ModelExpressionProvider.CreateModelExpression(ViewData, m => ViewContext.ViewData.Model);