437 references to EmptyModelMetadataProvider
Microsoft.AspNetCore.Mvc.Abstractions.Test (11)
ModelBinding\ModelStateDictionaryTest.cs (11)
326var provider = new EmptyModelMetadataProvider(); 756var provider = new EmptyModelMetadataProvider(); 815var provider = new EmptyModelMetadataProvider(); 859var provider = new EmptyModelMetadataProvider(); 889var provider = new EmptyModelMetadataProvider(); 917var provider = new EmptyModelMetadataProvider(); 979var provider = new EmptyModelMetadataProvider(); 1093var provider = new EmptyModelMetadataProvider(); 1193var provider = new EmptyModelMetadataProvider(); 1247var provider = new EmptyModelMetadataProvider(); 1267var provider = new EmptyModelMetadataProvider();
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
ApiResponseTypeProviderTest.cs (3)
718var provider = new ApiResponseTypeProvider(new EmptyModelMetadataProvider(), new ActionResultTypeMapper(), new MvcOptions()); 758var provider = new ApiResponseTypeProvider(new EmptyModelMetadataProvider(), new ActionResultTypeMapper(), new MvcOptions()); 773var provider = new ApiResponseTypeProvider(new EmptyModelMetadataProvider(), new ActionResultTypeMapper(), mvcOptions);
DefaultApiDescriptionProviderTest.cs (1)
2214var context = new ApiParameterContext(new EmptyModelMetadataProvider(), new ControllerActionDescriptor(), new TemplatePart[0]);
Microsoft.AspNetCore.Mvc.Core.Test (97)
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (1)
220new EmptyModelMetadataProvider(),
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (1)
210new EmptyModelMetadataProvider());
ApplicationModels\ConsumesConstraintForFormFileParameterConventionTest.cs (1)
62modelMetadataProvider = modelMetadataProvider ?? new EmptyModelMetadataProvider();
ApplicationModels\ControllerActionDescriptorProviderTests.cs (4)
698var modelProvider = new DefaultApplicationModelProvider(options, new EmptyModelMetadataProvider()); 1339var modelProvider = new DefaultApplicationModelProvider(options, new EmptyModelMetadataProvider()); 1354var modelProvider = new DefaultApplicationModelProvider(options, new EmptyModelMetadataProvider()); 1372var modelProvider = new DefaultApplicationModelProvider(options, new EmptyModelMetadataProvider());
ApplicationModels\DefaultApplicationModelProviderTest.cs (4)
315var provider = new TestApplicationModelProvider(options, new EmptyModelMetadataProvider()); 335var provider = new TestApplicationModelProvider(options, new EmptyModelMetadataProvider()); 355var provider = new TestApplicationModelProvider(options, new EmptyModelMetadataProvider()); 1868: this(new MvcOptions(), new EmptyModelMetadataProvider())
ApplicationModels\EndpointMetadataProviderTest.cs (1)
243var modelProvider = new DefaultApplicationModelProvider(options, new EmptyModelMetadataProvider());
ApplicationModels\InferParameterBindingInfoConventionTest.cs (2)
903modelMetadataProvider = modelMetadataProvider ?? new EmptyModelMetadataProvider(); 914modelMetadataProvider = modelMetadataProvider ?? new EmptyModelMetadataProvider();
ControllerBaseTest.cs (5)
2612var metadataProvider = new EmptyModelMetadataProvider(); 2641var metadataProvider = new EmptyModelMetadataProvider(); 2937var metadataProvider = new EmptyModelMetadataProvider(); 2965var metadataProvider = new EmptyModelMetadataProvider(); 3196var metadataProvider = new EmptyModelMetadataProvider();
Controllers\ControllerBinderDelegateProviderTest.cs (5)
237var metadataProvider = new EmptyModelMetadataProvider(); 1133var modelMetadataProvider = new EmptyModelMetadataProvider(); 1138new EmptyModelMetadataProvider(), 1210var modelMetadataProvider = new EmptyModelMetadataProvider(); 1215new EmptyModelMetadataProvider(),
Controllers\DefaultControllerActivatorTest.cs (1)
168var metadataProvider = new EmptyModelMetadataProvider();
Controllers\DefaultControllerFactoryTest.cs (1)
220var metadataProvider = new EmptyModelMetadataProvider();
Formatters\InputFormatterTest.cs (11)
37var provider = new EmptyModelMetadataProvider(); 71var provider = new EmptyModelMetadataProvider(); 102var provider = new EmptyModelMetadataProvider(); 136var provider = new EmptyModelMetadataProvider(); 167var provider = new EmptyModelMetadataProvider(); 204var provider = new EmptyModelMetadataProvider(); 234var provider = new EmptyModelMetadataProvider(); 272var provider = new EmptyModelMetadataProvider(); 301var provider = new EmptyModelMetadataProvider(); 389new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 418new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)),
Formatters\JsonInputFormatterTestBase.cs (1)
654var provider = new EmptyModelMetadataProvider();
Formatters\TextInputFormatterTest.cs (7)
23new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 51new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 73new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 97new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 123new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 157new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)), 191new EmptyModelMetadataProvider().GetMetadataForType(typeof(object)),
Infrastructure\ActionSelectorTest.cs (1)
1006var modelProvider = new DefaultApplicationModelProvider(options, new EmptyModelMetadataProvider());
Infrastructure\ControllerActionInvokerCacheTest.cs (1)
94var modelMetadataProvider = new EmptyModelMetadataProvider();
ModelBinding\Binders\BodyModelBinderTests.cs (1)
686metadataProvider = new EmptyModelMetadataProvider();
ModelBinding\Binders\ByteArrayModelBinderTests.cs (1)
105var metadataProvider = new EmptyModelMetadataProvider();
ModelBinding\Binders\CancellationTokenModelBinderTests.cs (1)
28var metadataProvider = new EmptyModelMetadataProvider();
ModelBinding\Binders\DateTimeModelBinderTest.cs (1)
212ModelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(modelType),
ModelBinding\Binders\FloatingPointTypeModelBinderTestOfT.cs (1)
373ModelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(modelType),
ModelBinding\Binders\FormCollectionModelBinderTest.cs (1)
68var metadataProvider = new EmptyModelMetadataProvider();
ModelBinding\Binders\FormFileModelBinderTest.cs (6)
54new EmptyModelMetadataProvider().GetMetadataForType(typeof(IFormFile)), 86var metadata = new EmptyModelMetadataProvider().GetMetadataForProperty( 128var metadata = new EmptyModelMetadataProvider().GetMetadataForProperty( 169new EmptyModelMetadataProvider().GetMetadataForType(typeof(IFormFile)), 205new EmptyModelMetadataProvider().GetMetadataForType(typeof(IFormFile)), 447var metadataProvider = new EmptyModelMetadataProvider();
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (2)
162var metadataProvider = new EmptyModelMetadataProvider(); 490ModelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(modelType),
ModelBinding\Binders\TryParseTypeModelBinderTest.cs (2)
111var metadataProvider = new EmptyModelMetadataProvider(); 495ModelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(modelType),
ModelBinding\DefaultModelBindingContextTest.cs (1)
148ModelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(typeof(int))
ModelBinding\Metadata\DefaultModelMetadataTest.cs (17)
19var provider = new EmptyModelMetadataProvider(); 79var provider = new EmptyModelMetadataProvider(); 99var provider = new EmptyModelMetadataProvider(); 118var provider = new EmptyModelMetadataProvider(); 155var provider = new EmptyModelMetadataProvider(); 192var provider = new EmptyModelMetadataProvider(); 233var provider = new EmptyModelMetadataProvider(); 260var provider = new EmptyModelMetadataProvider(); 294var provider = new EmptyModelMetadataProvider(); 321var provider = new EmptyModelMetadataProvider(); 354var provider = new EmptyModelMetadataProvider(); 377var provider = new EmptyModelMetadataProvider(); 398var provider = new EmptyModelMetadataProvider(); 420var provider = new EmptyModelMetadataProvider(); 441var provider = new EmptyModelMetadataProvider(); 687var provider = new EmptyModelMetadataProvider(); 708var provider = new EmptyModelMetadataProvider();
ModelBinding\Metadata\ModelMetadataProviderExtensionsTest.cs (1)
14var provider = (IModelMetadataProvider)new EmptyModelMetadataProvider();
ModelBinding\ModelBindingHelperTest.cs (11)
27var metadataProvider = new EmptyModelMetadataProvider(); 131var metadataProvider = new EmptyModelMetadataProvider(); 212var metadataProvider = new EmptyModelMetadataProvider(); 460var metadataProvider = new EmptyModelMetadataProvider(); 543var metadataProvider = new EmptyModelMetadataProvider(); 608var metadataProvider = new EmptyModelMetadataProvider(); 640var metadataProvider = new EmptyModelMetadataProvider(); 672var metadataProvider = new EmptyModelMetadataProvider(); 696var metadataProvider = new EmptyModelMetadataProvider(); 741var metadataProvider = new EmptyModelMetadataProvider(); 1523var metadataProvider = new EmptyModelMetadataProvider();
ModelBinding\UnsupportedContentTypeFilterTest.cs (2)
28var modelMetadata = new EmptyModelMetadataProvider() 111var modelMetadata = new EmptyModelMetadataProvider()
ModelBinding\Validation\CompositeModelValidatorProviderTest.cs (1)
35var modelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(typeof(string));
ValidationProblemDetailsTest.cs (1)
55var provider = new EmptyModelMetadataProvider();
Microsoft.AspNetCore.Mvc.Cors.Test (1)
CorsApplicationModelProviderTest.cs (1)
216new EmptyModelMetadataProvider());
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test (8)
XmlDataContractSerializerInputFormatterTest.cs (4)
75var provider = new EmptyModelMetadataProvider(); 513var provider = new EmptyModelMetadataProvider(); 577var provider = new EmptyModelMetadataProvider(); 724var provider = new EmptyModelMetadataProvider();
XmlSerializerInputFormatterTest.cs (4)
254var provider = new EmptyModelMetadataProvider(); 534var provider = new EmptyModelMetadataProvider(); 598var provider = new EmptyModelMetadataProvider(); 660var provider = new EmptyModelMetadataProvider();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
NewtonsoftJsonPatchInputFormatterTest.cs (2)
187var provider = new EmptyModelMetadataProvider(); 243var provider = new EmptyModelMetadataProvider();
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (1)
654var provider = new EmptyModelMetadataProvider();
Microsoft.AspNetCore.Mvc.Razor.Test (20)
Compilation\RazorPagePropertyActivatorTest.cs (8)
19new EmptyModelMetadataProvider(), 38metadataProvider: new EmptyModelMetadataProvider(), 54var modelMetadataProvider = new EmptyModelMetadataProvider(); 83var modelMetadataProvider = new EmptyModelMetadataProvider(); 112var modelMetadataProvider = new EmptyModelMetadataProvider(); 141var modelMetadataProvider = new EmptyModelMetadataProvider(); 170var modelMetadataProvider = new EmptyModelMetadataProvider(); 197var modelMetadataProvider = new EmptyModelMetadataProvider();
DefaultTagHelperFactoryTest.cs (1)
156var metadataProvider = new EmptyModelMetadataProvider();
Infrastructure\DefaultTagHelperActivatorTest.cs (1)
42var metadataProvider = new EmptyModelMetadataProvider();
RazorHotReloadTest.cs (1)
60new EmptyModelMetadataProvider(),
RazorPageActivatorTest.cs (1)
28MetadataProvider = new EmptyModelMetadataProvider();
RazorPageCreateModelExpressionTest.cs (2)
305var provider = new EmptyModelMetadataProvider(); 313var provider = new EmptyModelMetadataProvider();
RazorPageCreateTagHelperTest.cs (2)
63var modelMetadataProvider = new EmptyModelMetadataProvider(); 94var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary());
RazorPageTest.cs (1)
1431new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
RazorViewTest.cs (3)
61var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()); 99var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()); 1797new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
Microsoft.AspNetCore.Mvc.RazorPages.Test (14)
Filters\PageViewDataAttributeFilterTest.cs (1)
71var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary());
Infrastructure\DefaultPageFactoryProviderTest.cs (1)
214var modelMetadataProvider = new EmptyModelMetadataProvider();
Infrastructure\PageActionInvokerTest.cs (1)
1514pageContext.ViewData = viewDataFactory(new EmptyModelMetadataProvider(), pageContext.ModelState);
PageModelTest.cs (5)
1725var modelMetadataProvider = new EmptyModelMetadataProvider(); 1939var modelMetadataProvider = new EmptyModelMetadataProvider(); 1963var modelMetadataProvider = new EmptyModelMetadataProvider(); 1988var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()); 2010var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary());
PageTest.cs (6)
25var modelMetadataProvider = new EmptyModelMetadataProvider(); 1712var modelMetadataProvider = new EmptyModelMetadataProvider(); 1737var modelMetadataProvider = new EmptyModelMetadataProvider(); 1763var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()); 1785var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()); 1807var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary());
Microsoft.AspNetCore.Mvc.TagHelpers.Test (50)
AnchorTagHelperTest.cs (4)
490var metadataProvider = new EmptyModelMetadataProvider(); 536var metadataProvider = new EmptyModelMetadataProvider(); 574var metadataProvider = new EmptyModelMetadataProvider(); 612var metadataProvider = new EmptyModelMetadataProvider();
CacheTagHelperTest.cs (1)
935new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
CacheTagKeyTest.cs (1)
543new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
DistributedCacheTagHelperTest.cs (1)
741new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary()),
FormTagHelperTest.cs (4)
1015var formTagHelper = new FormTagHelper(new TestableHtmlGenerator(new EmptyModelMetadataProvider())); 1056var formTagHelper = new FormTagHelper(new TestableHtmlGenerator(new EmptyModelMetadataProvider())) 1090var formTagHelper = new FormTagHelper(new TestableHtmlGenerator(new EmptyModelMetadataProvider())) 1124var formTagHelper = new FormTagHelper(new TestableHtmlGenerator(new EmptyModelMetadataProvider()))
ImageTagHelperTest.cs (1)
299var metadataProvider = new EmptyModelMetadataProvider();
InputTagHelperTest.cs (19)
98var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()); 145var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()); 192var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()); 236var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()); 261var metadataProvider = new EmptyModelMetadataProvider(); 304var metadataProvider = new EmptyModelMetadataProvider(); 356var metadataProvider = new EmptyModelMetadataProvider(); 412var metadataProvider = new EmptyModelMetadataProvider(); 468var metadataProvider = new EmptyModelMetadataProvider(); 517var metadataProvider = new EmptyModelMetadataProvider(); 665var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()) 735var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()) 806var htmlGenerator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()) 843var metadataProvider = new EmptyModelMetadataProvider(); 918var metadataProvider = new EmptyModelMetadataProvider(); 977var metadataProvider = new EmptyModelMetadataProvider(); 1037var metadataProvider = new EmptyModelMetadataProvider(); 1097var metadataProvider = new EmptyModelMetadataProvider(); 1339var metadataProvider = new EmptyModelMetadataProvider();
LinkTagHelperTest.cs (1)
1130var metadataProvider = new EmptyModelMetadataProvider();
OptionTagHelperTest.cs (3)
419var metadataProvider = new EmptyModelMetadataProvider(); 491var metadataProvider = new EmptyModelMetadataProvider(); 556var metadataProvider = new EmptyModelMetadataProvider();
PartialTagHelperTest.cs (1)
42var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary())
ScriptTagHelperTest.cs (1)
1111var metadataProvider = new EmptyModelMetadataProvider();
SelectTagHelperTest.cs (5)
572var metadataProvider = new EmptyModelMetadataProvider(); 654var metadataProvider = new EmptyModelMetadataProvider(); 711var metadataProvider = new EmptyModelMetadataProvider(); 743var metadataProvider = new EmptyModelMetadataProvider(); 793var metadataProvider = new EmptyModelMetadataProvider();
TextAreaTagHelperTest.cs (2)
166var metadataProvider = new EmptyModelMetadataProvider(); 199var metadataProvider = new EmptyModelMetadataProvider();
ValidationMessageTagHelperTest.cs (4)
97var metadataProvider = new EmptyModelMetadataProvider(); 139var metadataProvider = new EmptyModelMetadataProvider(); 457var modelMetadataProvider = new EmptyModelMetadataProvider(); 474new EmptyModelMetadataProvider(),
ValidationSummaryTagHelperTest.cs (2)
573var generator = new TestableHtmlGenerator(new EmptyModelMetadataProvider()); 658new EmptyModelMetadataProvider(),
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Controller.cs (1)
46_viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), ControllerContext.ModelState);
ModelStateDictionaryExtensions.cs (1)
124var modelMetadata = new EmptyModelMetadataProvider().GetMetadataForType(typeof(TModel));
Rendering\ViewContext.cs (1)
34ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), ModelState);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (226)
ControllerTest.cs (12)
69ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 90ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 114ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 135ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 157ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 179ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 201ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 225ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 248ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 270ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 292ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 408var activator = new ViewDataDictionaryControllerPropertyActivator(new EmptyModelMetadataProvider());
DefaultValidationHtmlAttributeProviderTest.cs (7)
26var metadataProvider = new EmptyModelMetadataProvider(); 61var metadataProvider = new EmptyModelMetadataProvider(); 95var metadataProvider = new EmptyModelMetadataProvider(); 119var metadataProvider = new EmptyModelMetadataProvider(); 159var metadataProvider = new EmptyModelMetadataProvider(); 194var metadataProvider = new EmptyModelMetadataProvider(); 233var metadataProvider = new EmptyModelMetadataProvider();
ExpressionMetadataProviderTest.cs (10)
21var provider = new EmptyModelMetadataProvider(); 39var provider = new EmptyModelMetadataProvider(); 57var provider = new EmptyModelMetadataProvider(); 75var provider = new EmptyModelMetadataProvider(); 98var provider = new EmptyModelMetadataProvider(); 123var provider = new EmptyModelMetadataProvider(); 142var provider = new EmptyModelMetadataProvider(); 161var provider = new EmptyModelMetadataProvider(); 183var provider = new EmptyModelMetadataProvider(); 205var provider = new EmptyModelMetadataProvider();
Filters\AntiforgeryApplicationModelProviderTest.cs (1)
146new EmptyModelMetadataProvider());
Filters\ControllerViewDataAttributeFilterTest.cs (1)
66var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider(), new ModelStateDictionary());
Filters\TempDataApplicationModelProviderTest.cs (1)
116new EmptyModelMetadataProvider());
Filters\ViewDataAttributeApplicationModelProviderTest.cs (1)
69new EmptyModelMetadataProvider());
FormatWeekHelperTest.cs (1)
30var provider = new EmptyModelMetadataProvider();
ModelExplorerExtensionsTest.cs (1)
51var provider = new EmptyModelMetadataProvider();
ModelExplorerTest.cs (7)
14var provider = new EmptyModelMetadataProvider(); 28var provider = new EmptyModelMetadataProvider(); 42var provider = new EmptyModelMetadataProvider(); 66var provider = new EmptyModelMetadataProvider(); 90var provider = new EmptyModelMetadataProvider(); 108var provider = new EmptyModelMetadataProvider(); 129var provider = new EmptyModelMetadataProvider();
PageRemoteAttributeTest.cs (1)
171var metadataProvider = new EmptyModelMetadataProvider();
PartialViewResultExecutorTest.cs (11)
43ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 65ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 89ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 122ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 157ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 192ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 220ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 263ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 293ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 322ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 368new EmptyModelMetadataProvider());
PartialViewResultTest.cs (6)
31ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 87ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 125ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 165ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 214ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 242new EmptyModelMetadataProvider());
RemoteAttributeBaseTest.cs (2)
487var emptyMetadataProvider = new EmptyModelMetadataProvider(); 491metadataProvider = new EmptyModelMetadataProvider();
RemoteAttributeTest.cs (2)
374var metadataProvider = new EmptyModelMetadataProvider(); 421var metadataProvider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperCheckboxTest.cs (6)
367var metadataProvider = new EmptyModelMetadataProvider(); 387var metadataProvider = new EmptyModelMetadataProvider(); 408var metadataProvider = new EmptyModelMetadataProvider(); 427var metadataProvider = new EmptyModelMetadataProvider(); 796var metadataProvider = new EmptyModelMetadataProvider(); 829return new ViewDataDictionary<TestModel>(new EmptyModelMetadataProvider())
Rendering\HtmlHelperDropDownListExtensionsTest.cs (9)
30var metadataProvider = new EmptyModelMetadataProvider(); 54var metadataProvider = new EmptyModelMetadataProvider(); 80var metadataProvider = new EmptyModelMetadataProvider(); 105var metadataProvider = new EmptyModelMetadataProvider(); 132var metadataProvider = new EmptyModelMetadataProvider(); 154var metadataProvider = new EmptyModelMetadataProvider(); 180var metadataProvider = new EmptyModelMetadataProvider(); 206var metadataProvider = new EmptyModelMetadataProvider(); 232var metadataProvider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperHiddenTest.cs (5)
892var metadataProvider = new EmptyModelMetadataProvider(); 910var metadataProvider = new EmptyModelMetadataProvider(); 928var metadataProvider = new EmptyModelMetadataProvider(); 944return new ViewDataDictionary<HiddenModel>(new EmptyModelMetadataProvider()) 952var viewData = new ViewDataDictionary<HiddenModel>(new EmptyModelMetadataProvider())
Rendering\HtmlHelperLabelExtensionsTest.cs (1)
113var provider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperListBoxExtensionsTest.cs (6)
30var metadataProvider = new EmptyModelMetadataProvider(); 56var metadataProvider = new EmptyModelMetadataProvider(); 81var metadataProvider = new EmptyModelMetadataProvider(); 103var metadataProvider = new EmptyModelMetadataProvider(); 128var metadataProvider = new EmptyModelMetadataProvider(); 153var metadataProvider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperPartialExtensionsTest.cs (14)
19var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 44var viewData = expectedViewData ?? new ViewDataDictionary(new EmptyModelMetadataProvider()); 82.Returns(new ViewDataDictionary(new EmptyModelMetadataProvider())); 94var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 118var viewData = expectedViewData ?? new ViewDataDictionary(new EmptyModelMetadataProvider()); 143var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 173.Returns(new ViewDataDictionary(new EmptyModelMetadataProvider())); 193var viewData = expectedViewData ?? new ViewDataDictionary(new EmptyModelMetadataProvider()); 217var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 241var viewData = expectedViewData ?? new ViewDataDictionary(new EmptyModelMetadataProvider()); 266var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 310var passedInViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 311var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 336var passedInViewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
Rendering\HtmlHelperPasswordTest.cs (4)
381var metadataProvider = new EmptyModelMetadataProvider(); 399var metadataProvider = new EmptyModelMetadataProvider(); 417var metadataProvider = new EmptyModelMetadataProvider(); 448return new ViewDataDictionary<PasswordModel>(new EmptyModelMetadataProvider())
Rendering\HtmlHelperRadioButtonExtensionsTest.cs (3)
52var metadataProvider = new EmptyModelMetadataProvider(); 72var metadataProvider = new EmptyModelMetadataProvider(); 105var metadataProvider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperTextAreaExtensionsTest.cs (5)
19var metadataProvider = new EmptyModelMetadataProvider(); 38var metadataProvider = new EmptyModelMetadataProvider(); 57var metadataProvider = new EmptyModelMetadataProvider(); 76var metadataProvider = new EmptyModelMetadataProvider(); 96var metadataProvider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperTextBoxExtensionsTest.cs (5)
20var metadataProvider = new EmptyModelMetadataProvider(); 38var metadataProvider = new EmptyModelMetadataProvider(); 56var metadataProvider = new EmptyModelMetadataProvider(); 74var metadataProvider = new EmptyModelMetadataProvider(); 92var metadataProvider = new EmptyModelMetadataProvider();
Rendering\HtmlHelperValidationSummaryTest.cs (2)
670var provider = new EmptyModelMetadataProvider(); 689var provider = new EmptyModelMetadataProvider();
Rendering\ViewContextTests.cs (3)
21var originalViewData = new ViewDataDictionary(metadataProvider: new EmptyModelMetadataProvider()); 29var replacementViewData = new ViewDataDictionary(metadataProvider: new EmptyModelMetadataProvider()); 52viewData: new ViewDataDictionary(metadataProvider: new EmptyModelMetadataProvider()),
ViewComponentResultTest.cs (1)
40ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider())
ViewComponents\ContentViewComponentResultTest.cs (1)
41var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
ViewComponents\HtmlContentViewComponentResultTest.cs (1)
41var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
ViewComponents\ViewComponentContextTest.cs (2)
23var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 86var viewData = new ViewDataDictionary<int>(new EmptyModelMetadataProvider());
ViewComponents\ViewViewComponentResultTest.cs (13)
44var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 79var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 113var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 162var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 200var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 240var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 278var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 314var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 355var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 400var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 429var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 454var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 487var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider());
ViewDataDictionaryOfTModelTest.cs (16)
15var metadataProvider = new EmptyModelMetadataProvider(); 33var metadataProvider = new EmptyModelMetadataProvider(); 76var metadataProvider = new EmptyModelMetadataProvider(); 115var metadataProvider = new EmptyModelMetadataProvider(); 136var metadataProvider = new EmptyModelMetadataProvider(); 157var metadataProvider = new EmptyModelMetadataProvider(); 184var metadataProvider = new EmptyModelMetadataProvider(); 209var metadataProvider = new EmptyModelMetadataProvider(); 248var source = new ViewDataDictionary<TestModel>(new EmptyModelMetadataProvider()); 267var metadataProvider = new EmptyModelMetadataProvider(); 289var metadataProvider = new EmptyModelMetadataProvider(); 308var metadataProvider = new EmptyModelMetadataProvider(); 330var metadataProvider = new EmptyModelMetadataProvider(); 353var metadataProvider = new EmptyModelMetadataProvider(); 378var metadataProvider = new EmptyModelMetadataProvider(); 405var metadataProvider = new EmptyModelMetadataProvider();
ViewDataDictionaryTest.cs (35)
16var metadataProvider = new EmptyModelMetadataProvider(); 33var metadataProvider = new EmptyModelMetadataProvider(); 54.Returns(new EmptyModelMetadataProvider().GetMetadataForType(typeof(object))) 73.Returns(new EmptyModelMetadataProvider().GetMetadataForType(typeof(TestModel))) 93.Returns(new EmptyModelMetadataProvider().GetMetadataForType(typeof(object))) 97.Returns(new EmptyModelMetadataProvider().GetMetadataForType(typeof(TestModel))) 138var viewData = new TestViewDataDictionary(new EmptyModelMetadataProvider(), typeof(TestModel)); 175var vdd = new ViewDataDictionary(new EmptyModelMetadataProvider()); 188var metadataProvider = new EmptyModelMetadataProvider(); 239var metadataProvider = new EmptyModelMetadataProvider(); 256var metadataProvider = new EmptyModelMetadataProvider(); 278var metadataProvider = new EmptyModelMetadataProvider(); 302var metadataProvider = new EmptyModelMetadataProvider(); 321var metadataProvider = new EmptyModelMetadataProvider(); 348var metadataProvider = new EmptyModelMetadataProvider(); 373var metadataProvider = new EmptyModelMetadataProvider(); 399var viewData = new TestViewDataDictionary(new EmptyModelMetadataProvider(), typeof(int)); 413var metadataProvider = new EmptyModelMetadataProvider(); 440var metadataProvider = new EmptyModelMetadataProvider(); 531var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 545var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 559var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 573var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 587var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 602var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 620var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 638var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 657var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 672var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 686var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 700var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 721var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 734var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 748var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 802return new ViewDataDictionary(new EmptyModelMetadataProvider())
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());
ViewExecutorTest.cs (8)
100var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 141var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 163serviceCollection.AddSingleton<IModelMetadataProvider>(new EmptyModelMetadataProvider()); 232var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 267var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 315var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 356var viewData = new ViewDataDictionary(new EmptyModelMetadataProvider()); 403new EmptyModelMetadataProvider());
ViewResultExecutorTest.cs (11)
42ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 64ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 88ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 120ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 154ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 188ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 216ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 258ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 288ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 312ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 358new EmptyModelMetadataProvider());
ViewResultTest.cs (6)
41ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()) 97ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 137ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 177ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 226ViewData = new ViewDataDictionary(new EmptyModelMetadataProvider()), 254new EmptyModelMetadataProvider());