16 references to ForType
Microsoft.AspNetCore.Mvc.Abstractions.Test (5)
ModelBinding\BindingInfoTest.cs (5)
106provider.ForType(modelType).BindingDetails(metadata => 155provider.ForType(modelType).BindingDetails(metadata => 180provider.ForType(modelType).BindingDetails(metadata => 206provider.ForType(modelType).BindingDetails(metadata => 233provider.ForType(modelType).BindingDetails(metadata =>
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\Binders\BinderTypeModelBinderTest.cs (1)
71metadataProvider.ForType(modelType).BindingDetails(bd => bd.BinderType = binderType);
ModelBinding\Binders\HeaderModelBinderTests.cs (1)
392metadataProvider.ForType(modelType).BindingDetails(d => d.BindingSource = BindingSource.Header);
ModelBinding\Binders\ServicesModelBinderTest.cs (1)
36metadataProvider.ForType(modelType).BindingDetails(d => d.BindingSource = BindingSource.Services);
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (1)
51.ForType(typeof(string))
ModelBinding\ParameterBinderTest.cs (1)
167.ForType(typeof(Person))
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestModelMetadataProvider.cs (1)
115return ForType(typeof(TModel));
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
NumericClientModelValidatorTest.cs (1)
109.ForType(typeof(int))
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
KeyValuePairModelBinderIntegrationTest.cs (2)
96.ForType(typeof(KeyValuePair<string, int>)) 183.ForType(typeof(KeyValuePair<string, int>))
SimpleTypeModelBinderIntegrationTest.cs (2)
416.ForType(parameterType) 519.ForType(parameterType)