1 write to Type
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (1)
27
Type
= type;
12 references to Type
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (7)
17
/// The <see cref="
Type
"/>. The provider sets <see cref="BindingSource"/> of the given <see cref="
Type
"/> or
18
/// anything assignable to the given <see cref="
Type
"/>.
32
/// The <see cref="
Type
"/>. The provider sets <see cref="BindingSource"/> of the given <see cref="
Type
"/> or
33
/// anything assignable to the given <see cref="
Type
"/>.
47
if (
Type
.IsAssignableFrom(context.Key.ModelType))
Microsoft.AspNetCore.Mvc.Test (5)
MvcOptionsSetupTest.cs (5)
175
Assert.Equal(typeof(CancellationToken), specialParameter.
Type
);
181
Assert.Equal(typeof(IFormFile), formFileParameter.
Type
);
187
Assert.Equal(typeof(IFormCollection), formCollectionParameter.
Type
);
193
Assert.Equal(typeof(IFormFileCollection), formFileParameter.
Type
);
199
Assert.Equal(typeof(IEnumerable<IFormFile>), formFileParameter.
Type
);