231 instantiations of 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();
467 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 (3)
DefaultApiDescriptionProviderTest.cs (3)
2076var modelMetadataProvider = new TestModelMetadataProvider(); 2127var modelMetadataProvider = new TestModelMetadataProvider(); 2244var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.Core.Test (177)
ApplicationModels\DefaultApplicationModelProviderTest.cs (7)
32var builder = new TestApplicationModelProvider(options, TestModelMetadataProvider.CreateDefaultProvider()); 66TestModelMetadataProvider.CreateDefaultProvider()); 117var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(new[] { detailsProvider }); 170TestModelMetadataProvider.CreateDefaultProvider()); 214TestModelMetadataProvider.CreateDefaultProvider()); 260var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(new[] { detailsProvider }); 288var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(new[] { detailsProvider });
ApplicationModels\InferParameterBindingInfoConventionTest.cs (21)
39var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 114var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 148var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 174var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 200var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 225var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 246var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 267var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 516var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 649var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 670var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 691var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 711var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 732var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 753var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 774var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 795var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 816var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 837var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 857var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 880var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Controllers\ControllerBinderDelegateProviderTest.cs (23)
54var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 66TestModelMetadataProvider.CreateDefaultProvider(), 109var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 121TestModelMetadataProvider.CreateDefaultProvider(), 158var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 200var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 250var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 394var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 447var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 492var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 535var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 589var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 632var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 672var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 712var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 753var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 815var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 878var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 965var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1040var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1183TestModelMetadataProvider.CreateDefaultProvider(), 1235TestModelMetadataProvider.CreateDefaultProvider(), 1340var metadataProvider = modelMetadataProvider ?? TestModelMetadataProvider.CreateDefaultProvider();
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
65var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
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 (4)
20private static readonly IModelMetadataProvider _metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 281var metadataProvider = new TestModelMetadataProvider(); 333var metadataProvider = new TestModelMetadataProvider(); 377var metadataProvider = new TestModelMetadataProvider();
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (5)
20private static readonly IModelMetadataProvider _metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 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 (4)
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\ModelBindingHelperTest.cs (9)
67var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 110var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 188var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 264var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 271TestModelMetadataProvider.CreateDefaultProvider(), 315var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 518var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 586var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1509var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
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 (2)
70var modelMetadataProvider = new TestModelMetadataProvider(); 91var modelMetadataProvider = new TestModelMetadataProvider();
ModelBinding\Validation\DefaultCollectionValidationStrategyTest.cs (3)
16var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(List<int>)); 56var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(List<int>)); 91var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(TwiceEnumerable));
ModelBinding\Validation\DefaultComplexObjectValidationStrategyTest.cs (4)
23var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(Person)); 63var metadata = TestModelMetadataProvider.CreateDefaultProvider(new List<IMetadataDetailsProvider> { new TestValidationModelNameProvider() }).GetMetadataForType(typeof(Person)); 97var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(Person)); 131var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(LazyPerson));
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (6)
16var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 36var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 56var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 78var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 101var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 123var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
ModelBinding\Validation\DefaultObjectValidatorTests.cs (3)
19private ModelMetadataProvider MetadataProvider { get; } = TestModelMetadataProvider.CreateDefaultProvider(); 1469var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(excludeFilters.ToArray()); 1476var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(providers);
ModelBinding\Validation\ExplicitIndexCollectionValidationStrategyTest.cs (5)
16var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(List<int>)); 56var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(List<int>)); 91var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(TwiceEnumerable)); 126var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(List<int>)); 156var metadata = TestModelMetadataProvider.CreateDefaultProvider().GetMetadataForType(typeof(List<int>));
ModelBinding\Validation\ShortFormDictionaryValidationStrategyTest.cs (3)
19var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 67var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 107var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.Core.TestCommon (3)
TestModelBinderFactory.cs (3)
17TestModelMetadataProvider.CreateDefaultProvider(), 33metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 55metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (61)
CompareAttributeAdapterTest.cs (6)
20var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 55var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 98var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 132var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 171var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 210var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
DataAnnotationsClientModelValidatorProviderTest.cs (1)
13private readonly IModelMetadataProvider _metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
DataAnnotationsModelValidatorProviderTest.cs (1)
14private readonly IModelMetadataProvider _metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
DataAnnotationsModelValidatorTest.cs (1)
17= TestModelMetadataProvider.CreateDefaultProvider();
DataTypeClientModelValidatorProviderTest.cs (1)
11private readonly IModelMetadataProvider _metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
DefaultModelClientValidatorProviderTest.cs (8)
17var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 37var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 58var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 80var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 104var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 127var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 148var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 171var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
FileExtensionsAttributeAdapterTest.cs (4)
22var provider = TestModelMetadataProvider.CreateDefaultProvider(); 73var provider = TestModelMetadataProvider.CreateDefaultProvider(); 103var provider = TestModelMetadataProvider.CreateDefaultProvider(); 137var provider = TestModelMetadataProvider.CreateDefaultProvider();
MaxLengthAttributeAdapterTest.cs (5)
20var provider = TestModelMetadataProvider.CreateDefaultProvider(); 54var provider = TestModelMetadataProvider.CreateDefaultProvider(); 83var provider = TestModelMetadataProvider.CreateDefaultProvider(); 110var provider = TestModelMetadataProvider.CreateDefaultProvider(); 143var provider = TestModelMetadataProvider.CreateDefaultProvider();
MinLengthAttributeAdapterTest.cs (4)
20var provider = TestModelMetadataProvider.CreateDefaultProvider(); 54var provider = TestModelMetadataProvider.CreateDefaultProvider(); 82var provider = TestModelMetadataProvider.CreateDefaultProvider(); 110var provider = TestModelMetadataProvider.CreateDefaultProvider();
ModelMetadataProviderTest.cs (12)
697var provider = TestModelMetadataProvider.CreateDefaultProvider(); 712var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 727var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 742var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 757var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 773var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 789var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 802var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 817var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 833var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 849var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 865var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
NumericClientModelValidatorTest.cs (5)
18var provider = TestModelMetadataProvider.CreateDefaultProvider(); 43var provider = new TestModelMetadataProvider(); 78var provider = new TestModelMetadataProvider(); 107var provider = new TestModelMetadataProvider(); 133var provider = TestModelMetadataProvider.CreateDefaultProvider();
RangeAttributeAdapterTest.cs (3)
19var provider = TestModelMetadataProvider.CreateDefaultProvider(); 49var provider = TestModelMetadataProvider.CreateDefaultProvider(); 85var provider = TestModelMetadataProvider.CreateDefaultProvider();
RequiredAttributeAdapterTest.cs (3)
20var provider = TestModelMetadataProvider.CreateDefaultProvider(); 55var provider = TestModelMetadataProvider.CreateDefaultProvider(); 80var provider = TestModelMetadataProvider.CreateDefaultProvider();
StringLengthAttributeAdapterTest.cs (5)
20var provider = TestModelMetadataProvider.CreateDefaultProvider(); 55var provider = TestModelMetadataProvider.CreateDefaultProvider(); 82var provider = TestModelMetadataProvider.CreateDefaultProvider(); 110var provider = TestModelMetadataProvider.CreateDefaultProvider(); 136var provider = TestModelMetadataProvider.CreateDefaultProvider();
ValidatableObjectAdapterTest.cs (1)
13= TestModelMetadataProvider.CreateDefaultProvider();
ValidationAttributeAdapterOfTAttributeTest.cs (1)
18var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.IntegrationTests (44)
ActionParametersIntegrationTest.cs (6)
648var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 681var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 726var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 779var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 821var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 866var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
AuthorizeFilterIntegrationTest.cs (1)
170TestModelMetadataProvider.CreateDefaultProvider());
BindPropertyIntegrationTest.cs (4)
120var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 160var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 216var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 279var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
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();
ExcludeBindingMetadataProviderIntegrationTest.cs (1)
82var metadataProvider = TestModelMetadataProvider.CreateProvider(options.ModelMetadataDetailsProviders);
KeyValuePairModelBinderIntegrationTest.cs (2)
94var metadataProvider = new TestModelMetadataProvider(); 181var metadataProvider = new TestModelMetadataProvider();
ModelBindingTestHelper.cs (4)
52var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 57var metadataProvider = TestModelMetadataProvider.CreateProvider(options.ModelMetadataDetailsProviders); 178return TestModelMetadataProvider.CreateProvider(optionsAccessor.Value.ModelMetadataDetailsProviders); 185return TestModelMetadataProvider.CreateDefaultProvider();
NullableReferenceTypeIntegrationTest.cs (1)
168var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
ServicesModelBinderIntegrationTest.cs (2)
350var metadataProvider = new TestModelMetadataProvider(); 387var metadataProvider = new TestModelMetadataProvider();
SimpleTypeModelBinderIntegrationTest.cs (2)
414var metadataProvider = new TestModelMetadataProvider(); 517var metadataProvider = new TestModelMetadataProvider();
ValidationIntegrationTests.cs (7)
2024var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2076var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2146var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2312var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2366var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2470var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2515var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
ValidationWithRecordIntegrationTests.cs (10)
1815var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1867var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1937var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2103var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2154var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2256var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2306var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2345var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2386var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2423var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
JsonPatchOperationsArrayProviderTests.cs (1)
18var metadataProvider = new TestModelMetadataProvider();
Microsoft.AspNetCore.Mvc.RazorPages.Test (22)
ApplicationModels\AuthorizationPageApplicationModelProviderTest.cs (1)
188var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1219var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
ApplicationModels\ResponseCacheFilterApplicationModelProviderTest.cs (1)
142var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Infrastructure\PageActionInvokerProviderTest.cs (1)
504var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
Infrastructure\PageBinderFactoryTest.cs (18)
31var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 57var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 82var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 108var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 133var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 159var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 209var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 275var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 325var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 388var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 447var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 497var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 539var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 588var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 631var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 664var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 718var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 810TestModelMetadataProvider.CreateDefaultProvider(),
Microsoft.AspNetCore.Mvc.TagHelpers.Test (41)
AnchorTagHelperTest.cs (1)
21var metadataProvider = new TestModelMetadataProvider();
FormActionTagHelperTest.cs (2)
20var metadataProvider = new TestModelMetadataProvider(); 95var metadataProvider = new TestModelMetadataProvider();
FormTagHelperTest.cs (6)
73var metadataProvider = new TestModelMetadataProvider(); 130var metadataProvider = new TestModelMetadataProvider(); 184var metadataProvider = new TestModelMetadataProvider(); 242var metadataProvider = new TestModelMetadataProvider(); 300var metadataProvider = new TestModelMetadataProvider(); 561var metadataProvider = new TestModelMetadataProvider();
InputTagHelperTest.cs (12)
1278var metadataProvider = new TestModelMetadataProvider(); 1444var metadataProvider = new TestModelMetadataProvider(); 1656var metadataProvider = new TestModelMetadataProvider(); 1771var metadataProvider = new TestModelMetadataProvider(); 1849var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1918var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2012var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2087var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2149var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2217var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2283var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 2341var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
LabelTagHelperTest.cs (2)
166var metadataProvider = new TestModelMetadataProvider(); 284var metadataProvider = new TestModelMetadataProvider();
PartialTagHelperTest.cs (6)
64var modelMetadataProvider = new TestModelMetadataProvider(); 108var modelMetadataProvider = new TestModelMetadataProvider(); 130var modelMetadataProvider = new TestModelMetadataProvider(); 317var modelMetadataProvider = new TestModelMetadataProvider(); 364var modelMetadataProvider = new TestModelMetadataProvider(); 411var modelMetadataProvider = new TestModelMetadataProvider();
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 (104)
ControllerTest.cs (2)
37var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 430var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
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 (31)
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(); 936var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 963var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 988var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
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\DefaultTemplatesUtilities.cs (7)
66provider: TestModelMetadataProvider.CreateDefaultProvider()); 71var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 89TestModelMetadataProvider.CreateDefaultProvider(), 104TestModelMetadataProvider.CreateDefaultProvider(), 118var provider = TestModelMetadataProvider.CreateDefaultProvider(); 168TestModelMetadataProvider.CreateDefaultProvider(stringLocalizerFactory), 181TestModelMetadataProvider.CreateDefaultProvider(),
Rendering\HtmlHelperCheckboxTest.cs (2)
637var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 839var provider = TestModelMetadataProvider.CreateDefaultProvider();
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();
Rendering\HtmlHelperSelectTest.cs (19)
421var provider = TestModelMetadataProvider.CreateDefaultProvider(); 458var provider = TestModelMetadataProvider.CreateDefaultProvider(); 484var provider = TestModelMetadataProvider.CreateDefaultProvider(); 511var provider = TestModelMetadataProvider.CreateDefaultProvider(); 539var provider = TestModelMetadataProvider.CreateDefaultProvider(); 824var provider = TestModelMetadataProvider.CreateDefaultProvider(); 861var provider = TestModelMetadataProvider.CreateDefaultProvider(); 887var provider = TestModelMetadataProvider.CreateDefaultProvider(); 914var provider = TestModelMetadataProvider.CreateDefaultProvider(); 942var provider = TestModelMetadataProvider.CreateDefaultProvider(); 1274var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1288var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1312var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(stringLocalizerFactory.Object); 1328var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1346var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1360var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1374var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1388var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider(); 1493var metadataProvider = TestModelMetadataProvider.CreateDefaultProvider();
TemplateRendererTest.cs (1)
49var metadataProvider = new TestModelMetadataProvider();
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
69var modelMetadataProvider = TestModelMetadataProvider.CreateDefaultProvider();