14 references to Special
Microsoft.AspNetCore.Mvc.Abstractions.Test (2)
ModelBinding\BindingInfoTest.cs (2)
108
metadata.BindingSource = BindingSource.
Special
;
157
metadata.BindingSource = BindingSource.
Special
;
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\MvcCoreMvcOptionsSetup.cs (1)
116
modelMetadataDetailsProviders.Add(new BindingSourceMetadataProvider(typeof(CancellationToken), BindingSource.
Special
));
Microsoft.AspNetCore.Mvc.Core.Test (10)
ApplicationModels\DefaultApplicationModelProviderTest.cs (5)
116
var detailsProvider = new BindingSourceMetadataProvider(typeof(string), BindingSource.
Special
);
159
Assert.Equal(BindingSource.
Special
, property.BindingInfo.BindingSource);
259
var detailsProvider = new BindingSourceMetadataProvider(typeof(Guid), BindingSource.
Special
);
278
Assert.Equal(BindingSource.
Special
, parameter.BindingInfo.BindingSource);
287
var detailsProvider = new BindingSourceMetadataProvider(typeof(Guid), BindingSource.
Special
);
ApplicationModels\InferParameterBindingInfoConventionTest.cs (2)
139
Assert.Equal(BindingSource.
Special
, bindingInfo.BindingSource);
531
Assert.Same(BindingSource.
Special
, cancellationToken.BindingInfo.BindingSource);
ModelBinding\Metadata\BindingSourceMetadataProviderTests.cs (2)
12
var provider = new BindingSourceMetadataProvider(typeof(Test), BindingSource.
Special
);
22
Assert.Equal(BindingSource.
Special
, context.BindingMetadata.BindingSource);
ModelBinding\Metadata\BindingSourceTest.cs (1)
74
BindingSource.
Special
,
Microsoft.AspNetCore.Mvc.Test (1)
MvcOptionsSetupTest.cs (1)
176
Assert.Equal(BindingSource.
Special
, specialParameter.BindingSource);