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