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