3 instantiations of ValidatorCache
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ObjectModelValidator.cs (1)
32_validatorCache = new ValidatorCache();
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Validation\ValidatorCacheTest.cs (2)
15var cache = new ValidatorCache(); 42var cache = new ValidatorCache();
11 references to ValidatorCache
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\ObjectModelValidator.cs (3)
16private readonly ValidatorCache _validatorCache; 111/// <param name="validatorCache">The <see cref="ValidatorCache"/>.</param> 118ValidatorCache validatorCache,
ModelBinding\Validation\DefaultObjectValidator.cs (1)
35ValidatorCache validatorCache,
ModelBinding\Validation\ValidationVisitor.cs (3)
27/// <param name="validatorCache">The <see cref="ValidatorCache"/> that provides a list of <see cref="IModelValidator"/>s.</param> 33ValidatorCache validatorCache, 65protected ValidatorCache Cache { get; }
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Validation\ValidatorCacheTest.cs (2)
15var cache = new ValidatorCache(); 42var cache = new ValidatorCache();
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ValidationIntegrationTests.cs (2)
2585public override ValidationVisitor GetValidationVisitor(ActionContext actionContext, IModelValidatorProvider validatorProvider, ValidatorCache validatorCache, IModelMetadataProvider metadataProvider, ValidationStateDictionary validationState) 2594public RecordingValidationVisitor(ActionContext actionContext, IModelValidatorProvider validatorProvider, ValidatorCache validatorCache, IModelMetadataProvider metadataProvider, ValidationStateDictionary validationState)