231 references to TestModelMetadataProvider
Microsoft.AspNetCore.Mvc.Abstractions.Test (10)
ModelBinding\BindingInfoTest.cs (10)
105var provider = new TestModelMetadataProvider(); 132var provider = new TestModelMetadataProvider(); 154var provider = new TestModelMetadataProvider(); 179var provider = new TestModelMetadataProvider(); 205var provider = new TestModelMetadataProvider(); 232var provider = new TestModelMetadataProvider(); 258var provider = new TestModelMetadataProvider(); 280var provider = new TestModelMetadataProvider(); 301var provider = new TestModelMetadataProvider(); 323var provider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
DefaultApiDescriptionProviderTest.cs (2)
2076var modelMetadataProvider = new TestModelMetadataProvider(); 2127var modelMetadataProvider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.Core.Test (95)
ModelBinding\Binders\ArrayModelBinderProviderTest.cs (1)
76var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\ArrayModelBinderTest.cs (5)
23var metadataProvider = new TestModelMetadataProvider(); 66var metadataProvider = new TestModelMetadataProvider(); 100var metadataProvider = new TestModelMetadataProvider(); 147var metadataProvider = new TestModelMetadataProvider(); 194var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\BinderTypeModelBinderTest.cs (1)
70var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\BodyModelBinderTests.cs (21)
33var provider = new TestModelMetadataProvider(); 55var provider = new TestModelMetadataProvider(); 79var provider = new TestModelMetadataProvider(); 104var provider = new TestModelMetadataProvider(); 129var provider = new TestModelMetadataProvider(); 172var provider = new TestModelMetadataProvider(); 200var provider = new TestModelMetadataProvider(); 228var provider = new TestModelMetadataProvider(); 256var metadataProvider = new TestModelMetadataProvider(); 304var metadataProvider = new TestModelMetadataProvider(); 333var metadataProvider = new TestModelMetadataProvider(); 375var metadataProvider = new TestModelMetadataProvider(); 404var metadataProvider = new TestModelMetadataProvider(); 451var metadataProvider = new TestModelMetadataProvider(); 486var metadataProvider = new TestModelMetadataProvider(); 515var metadataProvider = new TestModelMetadataProvider(); 538var provider = new TestModelMetadataProvider(); 576var provider = new TestModelMetadataProvider(); 601var provider = new TestModelMetadataProvider(); 630var provider = new TestModelMetadataProvider(); 662var provider = new TestModelMetadataProvider();
ModelBinding\Binders\CollectionModelBinderTest.cs (6)
252var metadataProvider = new TestModelMetadataProvider(); 286var metadataProvider = new TestModelMetadataProvider(); 327var metadataProvider = new TestModelMetadataProvider(); 366var metadataProvider = new TestModelMetadataProvider(); 403var metadataProvider = new TestModelMetadataProvider(); 480var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (3)
281var metadataProvider = new TestModelMetadataProvider(); 333var metadataProvider = new TestModelMetadataProvider(); 377var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (4)
294var metadataProvider = new TestModelMetadataProvider(); 341var metadataProvider = new TestModelMetadataProvider(); 393var metadataProvider = new TestModelMetadataProvider(); 437var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\DictionaryModelBinderTest.cs (12)
142var metadataProvider = new TestModelMetadataProvider(); 175var metadataProvider = new TestModelMetadataProvider(); 213var metadataProvider = new TestModelMetadataProvider(); 250var metadataProvider = new TestModelMetadataProvider(); 300var metadataProvider = new TestModelMetadataProvider(); 337var metadataProvider = new TestModelMetadataProvider(); 397var metadataProvider = new TestModelMetadataProvider(); 437var metadataProvider = new TestModelMetadataProvider(); 472var metadataProvider = new TestModelMetadataProvider(); 521var metadataProvider = new TestModelMetadataProvider(); 565var metadataProvider = new TestModelMetadataProvider(); 668var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\FormFileModelBinderTest.cs (1)
434var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\HeaderModelBinderTests.cs (2)
391var metadataProvider = new TestModelMetadataProvider(); 398var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\KeyValuePairModelBinderTest.cs (3)
157var metadataProvider = new TestModelMetadataProvider(); 185var metadataProvider = new TestModelMetadataProvider(); 217var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
35var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (1)
49var metadataProvider = new TestModelMetadataProvider();
ModelBinding\DefaultModelBindingContextTest.cs (5)
23ModelMetadata = new TestModelMetadataProvider().GetMetadataForType(typeof(object)), 29var metadataProvider = new TestModelMetadataProvider(); 67var metadataProvider = new TestModelMetadataProvider(); 89var metadataProvider = new TestModelMetadataProvider(); 117var metadataProvider = new TestModelMetadataProvider();
ModelBinding\ModelBinderFactoryTest.cs (13)
22var metadataProvider = new TestModelMetadataProvider(); 42var metadataProvider = new TestModelMetadataProvider(); 66var metadataProvider = new TestModelMetadataProvider(); 102var metadataProvider = new TestModelMetadataProvider(); 142var metadataProvider = new TestModelMetadataProvider(); 181var metadataProvider = new TestModelMetadataProvider(); 221var metadataProvider = new TestModelMetadataProvider(); 252var metadataProvider = new TestModelMetadataProvider(); 343var metadataProvider = new TestModelMetadataProvider(); 393var metadataProvider = new TestModelMetadataProvider(); 454var metadataProvider = new TestModelMetadataProvider(); 518var metadataProvider = new TestModelMetadataProvider(); 580var metadataProvider = new TestModelMetadataProvider();
ModelBinding\ParameterBinderTest.cs (9)
149var provider1 = new TestModelMetadataProvider(); 165var provider2 = new TestModelMetadataProvider(); 316var modelMetadataProvider = new TestModelMetadataProvider(); 371var modelMetadataProvider = new TestModelMetadataProvider(); 426var modelMetadataProvider = new TestModelMetadataProvider(); 480var modelMetadataProvider = new TestModelMetadataProvider(); 540var modelMetadataProvider = new TestModelMetadataProvider(); 602var modelMetadataProvider = new TestModelMetadataProvider(); 671var modelMetadataProvider = new TestModelMetadataProvider();
ModelBinding\TestModelBinderProviderContext.cs (1)
17internal static readonly TestModelMetadataProvider CachedMetadataProvider = new TestModelMetadataProvider();
ModelBinding\Validation\ClientValidatorCacheTest.cs (4)
16var metadata = new TestModelMetadataProvider().GetMetadataForProperty(typeof(TypeWithProperty), "Property1"); 43var metadata = new TestModelMetadataProvider().GetMetadataForProperty(typeof(TypeWithProperty), "Property1"); 70var modelMetadataProvider = new TestModelMetadataProvider(); 91var modelMetadataProvider = new TestModelMetadataProvider();
ModelBinding\Validation\ValidatorCacheTest.cs (2)
16var metadata = new TestModelMetadataProvider().GetMetadataForProperty(typeof(TypeWithProperty), "Property1"); 43var metadata = new TestModelMetadataProvider().GetMetadataForProperty(typeof(TypeWithProperty), "Property1");
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
NumericClientModelValidatorTest.cs (3)
43var provider = new TestModelMetadataProvider(); 78var provider = new TestModelMetadataProvider(); 107var provider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.IntegrationTests (10)
BodyValidationIntegrationTests.cs (2)
813var metadataProvider = new TestModelMetadataProvider(); 859var metadataProvider = new TestModelMetadataProvider();
ComplexRecordIntegrationTest.cs (1)
2003var metadataProvider = new TestModelMetadataProvider();
ComplexTypeIntegrationTestBase.cs (1)
2156var metadataProvider = new TestModelMetadataProvider();
KeyValuePairModelBinderIntegrationTest.cs (2)
94var metadataProvider = new TestModelMetadataProvider(); 181var metadataProvider = new TestModelMetadataProvider();
ServicesModelBinderIntegrationTest.cs (2)
350var metadataProvider = new TestModelMetadataProvider(); 387var metadataProvider = new TestModelMetadataProvider();
SimpleTypeModelBinderIntegrationTest.cs (2)
414var metadataProvider = new TestModelMetadataProvider(); 517var metadataProvider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
JsonPatchOperationsArrayProviderTests.cs (1)
18var metadataProvider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.TagHelpers.Test (39)
AnchorTagHelperTest.cs (1)
21var metadataProvider = new TestModelMetadataProvider();
FormActionTagHelperTest.cs (2)
20var metadataProvider = new TestModelMetadataProvider(); 95var metadataProvider = new TestModelMetadataProvider();
FormTagHelperTest.cs (7)
73var metadataProvider = new TestModelMetadataProvider(); 130var metadataProvider = new TestModelMetadataProvider(); 184var metadataProvider = new TestModelMetadataProvider(); 242var metadataProvider = new TestModelMetadataProvider(); 300var metadataProvider = new TestModelMetadataProvider(); 561var metadataProvider = new TestModelMetadataProvider(); 1164new ViewDataDictionary(new TestModelMetadataProvider(), new ModelStateDictionary()),
InputTagHelperTest.cs (5)
1278var metadataProvider = new TestModelMetadataProvider(); 1444var metadataProvider = new TestModelMetadataProvider(); 1656var metadataProvider = new TestModelMetadataProvider(); 1771var metadataProvider = new TestModelMetadataProvider(); 2397metadataProvider = new TestModelMetadataProvider();
LabelTagHelperTest.cs (2)
166var metadataProvider = new TestModelMetadataProvider(); 284var metadataProvider = new TestModelMetadataProvider();
PartialTagHelperTest.cs (10)
64var modelMetadataProvider = new TestModelMetadataProvider(); 108var modelMetadataProvider = new TestModelMetadataProvider(); 130var modelMetadataProvider = new TestModelMetadataProvider(); 276var viewData = new ViewDataDictionary(new TestModelMetadataProvider(), new ModelStateDictionary()); 317var modelMetadataProvider = new TestModelMetadataProvider(); 364var modelMetadataProvider = new TestModelMetadataProvider(); 411var modelMetadataProvider = new TestModelMetadataProvider(); 578var viewData = new ViewDataDictionary(new TestModelMetadataProvider(), new ModelStateDictionary()); 715var viewData = new ViewDataDictionary(new TestModelMetadataProvider(), new ModelStateDictionary()); 843new ViewDataDictionary(new TestModelMetadataProvider(), new ModelStateDictionary()),
SelectTagHelperTest.cs (4)
189var metadataProvider = new TestModelMetadataProvider(); 278var metadataProvider = new TestModelMetadataProvider(); 401var metadataProvider = new TestModelMetadataProvider(); 458var metadataProvider = new TestModelMetadataProvider();
TextAreaTagHelperTest.cs (1)
97var metadataProvider = new TestModelMetadataProvider();
ValidationMessageTagHelperTest.cs (1)
25var metadataProvider = new TestModelMetadataProvider();
ValidationSummaryTagHelperTest.cs (6)
45var metadataProvider = new TestModelMetadataProvider(); 101var metadataProvider = new TestModelMetadataProvider(); 169var metadataProvider = new TestModelMetadataProvider(); 211var metadataProvider = new TestModelMetadataProvider(); 282var metadataProvider = new TestModelMetadataProvider(); 598var metadataProvider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (71)
DefaultDisplayTemplatesTest.cs (4)
69var provider = new TestModelMetadataProvider(); 95var provider = new TestModelMetadataProvider(); 152var provider = new TestModelMetadataProvider(); 234var provider = new TestModelMetadataProvider();
DefaultEditorTemplatesTest.cs (15)
223var provider = new TestModelMetadataProvider(); 285var provider = new TestModelMetadataProvider(); 317var provider = new TestModelMetadataProvider(); 384var provider = new TestModelMetadataProvider(); 474var provider = new TestModelMetadataProvider(); 645var provider = new TestModelMetadataProvider(); 688var provider = new TestModelMetadataProvider(); 730var provider = new TestModelMetadataProvider(); 773var provider = new TestModelMetadataProvider(); 852var provider = new TestModelMetadataProvider(); 918var provider = new TestModelMetadataProvider(); 989var provider = new TestModelMetadataProvider(); 1059var provider = new TestModelMetadataProvider(); 1128var provider = new TestModelMetadataProvider(); 1194var provider = new TestModelMetadataProvider();
DefaultHtmlGeneratorTest.cs (28)
30var metadataProvider = new TestModelMetadataProvider(); 51var metadataProvider = new TestModelMetadataProvider(); 71var metadataProvider = new TestModelMetadataProvider(); 84var metadataProvider = new TestModelMetadataProvider(); 112var metadataProvider = new TestModelMetadataProvider(); 140var metadataProvider = new TestModelMetadataProvider(); 167var metadataProvider = new TestModelMetadataProvider(); 196var metadataProvider = new TestModelMetadataProvider(); 220var metadataProvider = new TestModelMetadataProvider(); 244var metadataProvider = new TestModelMetadataProvider(); 266var metadataProvider = new TestModelMetadataProvider(); 288var metadataProvider = new TestModelMetadataProvider(); 311var metadataProvider = new TestModelMetadataProvider(); 359var metadataProvider = new TestModelMetadataProvider(); 388var metadataProvider = new TestModelMetadataProvider(); 419var metadataProvider = new TestModelMetadataProvider(); 440var metadataProvider = new TestModelMetadataProvider(); 467var metadataProvider = new TestModelMetadataProvider(); 496var metadataProvider = new TestModelMetadataProvider(); 519var metadataProvider = new TestModelMetadataProvider(); 584var metadataProvider = new TestModelMetadataProvider(); 612var metadataProvider = new TestModelMetadataProvider(); 660var metadataProvider = new TestModelMetadataProvider(); 688var metadataProvider = new TestModelMetadataProvider(); 712var metadataProvider = new TestModelMetadataProvider(); 766var metadataProvider = new TestModelMetadataProvider(); 795var metadataProvider = new TestModelMetadataProvider(); 821var metadataProvider = new TestModelMetadataProvider();
ModelStateDictionaryExtensionsTest.cs (4)
101var provider = new TestModelMetadataProvider(); 139var provider = new TestModelMetadataProvider(); 177var provider = new TestModelMetadataProvider(); 217var provider = new TestModelMetadataProvider();
RemoteAttributeBaseTest.cs (2)
348var metadataProvider = new TestModelMetadataProvider(); 388var metadataProvider = new TestModelMetadataProvider();
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (2)
93var provider = new TestModelMetadataProvider(); 120var provider = new TestModelMetadataProvider();
Rendering\HtmlHelperDisplayTextTest.cs (5)
45var provider = new TestModelMetadataProvider(); 64var provider = new TestModelMetadataProvider(); 132var provider = new TestModelMetadataProvider(); 156var provider = new TestModelMetadataProvider(); 181var provider = new TestModelMetadataProvider();
Rendering\HtmlHelperLabelExtensionsTest.cs (10)
154var provider = new TestModelMetadataProvider(); 182var provider = new TestModelMetadataProvider(); 208var provider = new TestModelMetadataProvider(); 234var provider = new TestModelMetadataProvider(); 260var provider = new TestModelMetadataProvider(); 286var provider = new TestModelMetadataProvider(); 316var provider = new TestModelMetadataProvider(); 337var provider = new TestModelMetadataProvider(); 361var provider = new TestModelMetadataProvider(); 385var provider = new TestModelMetadataProvider();
TemplateRendererTest.cs (1)
49var metadataProvider = new TestModelMetadataProvider();