1 write to Type
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\SuppressChildValidationMetadataProvider.cs (1)
28Type = 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. 60if (Type != null) 62if (Type.IsAssignableFrom(context.Key.ModelType))
Microsoft.AspNetCore.Mvc.Test (12)
MvcOptionsSetupTest.cs (12)
205Assert.Equal(typeof(Type), excludeFilter.Type); 210Assert.Equal(typeof(Delegate), excludeFilter.Type); 215Assert.Equal(typeof(MethodInfo), excludeFilter.Type); 220Assert.Equal(typeof(MemberInfo), excludeFilter.Type); 225Assert.Equal(typeof(ParameterInfo), excludeFilter.Type); 230Assert.Equal(typeof(Assembly), excludeFilter.Type); 235Assert.Equal(typeof(Uri), excludeFilter.Type); 240Assert.Equal(typeof(CancellationToken), excludeFilter.Type); 245Assert.Equal(typeof(IFormFile), excludeFilter.Type); 250Assert.Equal(typeof(IFormCollection), excludeFilter.Type); 255Assert.Equal(typeof(IFormFileCollection), excludeFilter.Type); 260Assert.Equal(typeof(Stream), excludeFilter.Type);