1 write to Type
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\SuppressChildValidationMetadataProvider.cs (1)
28
Type
= type;
17 references to Type
Microsoft.AspNetCore.Mvc.Core (5)
ModelBinding\SuppressChildValidationMetadataProvider.cs (5)
21
/// The <see cref="
Type
"/>. This <see cref="
Type
"/> and all assignable values will have
46
/// Gets the <see cref="
Type
"/> for which to suppress validation of children.
60
if (
Type
!= null)
62
if (
Type
.IsAssignableFrom(context.Key.ModelType))
Microsoft.AspNetCore.Mvc.Test (12)
MvcOptionsSetupTest.cs (12)
205
Assert.Equal(typeof(Type), excludeFilter.
Type
);
210
Assert.Equal(typeof(Delegate), excludeFilter.
Type
);
215
Assert.Equal(typeof(MethodInfo), excludeFilter.
Type
);
220
Assert.Equal(typeof(MemberInfo), excludeFilter.
Type
);
225
Assert.Equal(typeof(ParameterInfo), excludeFilter.
Type
);
230
Assert.Equal(typeof(Assembly), excludeFilter.
Type
);
235
Assert.Equal(typeof(Uri), excludeFilter.
Type
);
240
Assert.Equal(typeof(CancellationToken), excludeFilter.
Type
);
245
Assert.Equal(typeof(IFormFile), excludeFilter.
Type
);
250
Assert.Equal(typeof(IFormCollection), excludeFilter.
Type
);
255
Assert.Equal(typeof(IFormFileCollection), excludeFilter.
Type
);
260
Assert.Equal(typeof(Stream), excludeFilter.
Type
);