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