11 references to Resolvers
Microsoft.AspNetCore.Http.Abstractions (3)
Validation\ValidationOptions.cs (2)
42
foreach (var resolver in
Resolvers
)
64
foreach (var resolver in
Resolvers
)
Validation\ValidationServiceCollectionExtensions.cs (1)
29
options.
Resolvers
.Add(new RuntimeValidatableParameterInfoResolver());
Microsoft.AspNetCore.Http.Abstractions.Tests (5)
Validation\ValidatableInfoResolverTests.cs (3)
144
Options.
Resolvers
.Add(resolver1.Object);
145
Options.
Resolvers
.Add(resolver2.Object);
146
Options.
Resolvers
.Add(resolver3.Object);
Validation\ValidatableParameterInfoTests.cs (1)
365
Resolvers
.Add(resolver);
Validation\ValidatableTypeInfoTests.cs (1)
759
Resolvers
.Add(resolver);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
ValidatableTypesBenchmark.cs (1)
38
options.
Resolvers
.Insert(0, mockResolver);
Microsoft.AspNetCore.Routing (2)
RouteEndpointDataSource.cs (1)
243
var hasValidationResolvers = builder.ApplicationServices.GetService<IOptions<ValidationOptions>>() is { Value: { } options } && options.
Resolvers
.Count > 0;
ValidationEndpointFilterFactory.cs (1)
26
if (options is null || options.
Resolvers
.Count == 0)