1 write to MetadataProvider
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorPageActivatorTest.cs (1)
28
MetadataProvider
= new EmptyModelMetadataProvider();
8 references to MetadataProvider
Microsoft.AspNetCore.Mvc.Razor.Test (8)
RazorPageActivatorTest.cs (8)
29
ModelExpressionProvider = new ModelExpressionProvider(
MetadataProvider
);
52
var viewData = new ViewDataDictionary<MyModel>(
MetadataProvider
, new ModelStateDictionary());
88
var viewData = new ViewDataDictionary<object>(
MetadataProvider
, new ModelStateDictionary());
112
var viewData = new ViewDataDictionary<object>(
MetadataProvider
, new ModelStateDictionary())
160
var viewData = new ViewDataDictionary<MyModel>(
MetadataProvider
, new ModelStateDictionary());
175
var viewData = new ViewDataDictionary<object>(
MetadataProvider
, new ModelStateDictionary())
234
return new RazorPageActivator(
MetadataProvider
, UrlHelperFactory, JsonHelper, DiagnosticListener, HtmlEncoder, ModelExpressionProvider);
243
viewData = new ViewDataDictionary(
MetadataProvider
, new ModelStateDictionary());