4 instantiations of ModelExpressionProvider
Microsoft.AspNetCore.Mvc.Razor.Test (3)
RazorPageActivatorTest.cs (1)
29ModelExpressionProvider = new ModelExpressionProvider(MetadataProvider);
RazorPageCreateModelExpressionTest.cs (1)
306var modelExpressionProvider = new ModelExpressionProvider(provider);
RazorPageCreateTagHelperTest.cs (1)
64var modelExpressionProvider = new ModelExpressionProvider(modelMetadataProvider);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Rendering\DefaultTemplatesUtilities.cs (1)
286new ModelExpressionProvider(provider));
7 references to ModelExpressionProvider
Microsoft.AspNetCore.Mvc.Razor.Test (2)
RazorPageCreateModelExpressionTest.cs (1)
306var modelExpressionProvider = new ModelExpressionProvider(provider);
RazorPageCreateTagHelperTest.cs (1)
64var modelExpressionProvider = new ModelExpressionProvider(modelMetadataProvider);
Microsoft.AspNetCore.Mvc.ViewFeatures (5)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (2)
159services.TryAddSingleton<ModelExpressionProvider>(); 161services.TryAddSingleton<IModelExpressionProvider>(s => s.GetRequiredService<ModelExpressionProvider>());
HtmlHelperOfT.cs (2)
20private readonly ModelExpressionProvider _modelExpressionProvider; 32ModelExpressionProvider modelExpressionProvider)
ModelExpressionProvider.cs (1)
19/// Creates a new <see cref="ModelExpressionProvider"/>.