73 references to GetModelExplorerForType
Microsoft.AspNetCore.Mvc.TagHelpers.Test (32)
InputTagHelperTest.cs (13)
264
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
307
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(int), model);
359
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
415
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
471
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model);
520
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(int), model);
846
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
921
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
980
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
1040
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
1100
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
1342
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(bool), model);
2401
var containerExplorer = metadataProvider.
GetModelExplorerForType
(containerType, container);
LabelTagHelperTest.cs (2)
169
var containerExplorer = metadataProvider.
GetModelExplorerForType
(containerType, model);
299
var containerExplorer = metadataProvider.
GetModelExplorerForType
(typeof(NestedModel), model: null);
PartialTagHelperTest.cs (6)
69
var containerModelExplorer = modelMetadataProvider.
GetModelExplorerForType
(
110
var containerModelExplorer = modelMetadataProvider.
GetModelExplorerForType
(
132
var containerModelExplorer = modelMetadataProvider.
GetModelExplorerForType
(
319
var containerModelExplorer = modelMetadataProvider.
GetModelExplorerForType
(
366
var containerModelExplorer = modelMetadataProvider.
GetModelExplorerForType
(
413
var containerModelExplorer = modelMetadataProvider.
GetModelExplorerForType
(
SelectTagHelperTest.cs (7)
191
var containerExplorer = metadataProvider.
GetModelExplorerForType
(containerType, model);
281
var containerExplorer = metadataProvider.
GetModelExplorerForType
(containerType, model);
461
var containerExplorer = metadataProvider.
GetModelExplorerForType
(containerType, model);
574
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model);
655
var modelExplorer = metadataProvider.
GetModelExplorerForType
(modelType, model);
714
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model);
746
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model);
TextAreaTagHelperTest.cs (3)
100
var containerExplorer = metadataProvider.
GetModelExplorerForType
(containerType, container);
169
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model);
202
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model);
ValidationMessageTagHelperTest.cs (1)
460
modelMetadataProvider.
GetModelExplorerForType
(typeof(object), model: null));
Microsoft.AspNetCore.Mvc.ViewFeatures (9)
ExpressionMetadataProvider.cs (2)
168
containerExplorer = metadataProvider.
GetModelExplorerForType
(
205
return metadataProvider.
GetModelExplorerForType
(typeof(string), model);
ViewDataDictionary.cs (7)
127
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(declaredModelType, model: null);
203
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(modelOrDeclaredType, model);
208
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(modelOrDeclaredType, model);
213
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(modelType, model);
450
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(modelType, value);
458
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(modelType, value);
471
ModelExplorer = _metadataProvider.
GetModelExplorerForType
(_declaredModelType, value);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (32)
DefaultHtmlGeneratorTest.cs (11)
54
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
74
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
87
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
115
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
143
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
170
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
443
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
470
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), model: null);
620
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), "ignored model value");
668
var modelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(string), rawValue);
775
metadataProvider.
GetModelExplorerForType
(typeof(List<string>), new List<string>(rawValue));
DefaultValidationHtmlAttributeProviderTest.cs (7)
31
.
GetModelExplorerForType
(typeof(Model), model: null)
66
.
GetModelExplorerForType
(typeof(Model), model: null)
102
.
GetModelExplorerForType
(typeof(Model), model: null)
125
.
GetModelExplorerForType
(typeof(Model), model: null)
166
.
GetModelExplorerForType
(typeof(Model), model: null)
200
.
GetModelExplorerForType
(typeof(Model), model: null)
238
.
GetModelExplorerForType
(typeof(Model), model: null)
ModelExplorerExtensionsTest.cs (1)
52
var modelExplorer = provider.
GetModelExplorerForType
(modelType, model);
ModelExplorerTest.cs (7)
15
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), new DerivedClass());
29
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), model: null);
43
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), new DerivedClass());
67
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), model: null);
91
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), model);
109
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), model: null);
130
var modelExplorer = provider.
GetModelExplorerForType
(typeof(BaseClass), model);
Rendering\DefaultTemplatesUtilities.cs (1)
330
var modelExplorer = helper.MetadataProvider.
GetModelExplorerForType
(model.GetType(), model);
Rendering\HtmlHelperLabelExtensionsTest.cs (2)
116
.
GetModelExplorerForType
(typeof(DefaultTemplatesUtilities.ObjectTemplateModel), model: null)
293
.
GetModelExplorerForType
(typeof(DefaultTemplatesUtilities.ObjectTemplateModel), model: null)
ViewDataDictionaryTest.cs (3)
192
ModelExplorer = metadataProvider.
GetModelExplorerForType
(typeof(TestModel), model),
281
ModelExplorer = metadataProvider.
GetModelExplorerForType
(sourceType, model: null),
305
ModelExplorer = metadataProvider.
GetModelExplorerForType
(sourceType, model: null),