11 references to Resolvers
Microsoft.AspNetCore.Http.Abstractions (3)
Validation\ValidationOptions.cs (2)
40
foreach (var resolver in
Resolvers
)
61
foreach (var resolver in
Resolvers
)
Validation\ValidationServiceCollectionExtensions.cs (1)
28
options.
Resolvers
.Add(new RuntimeValidatableParameterInfoResolver());
Microsoft.AspNetCore.Http.Abstractions.Tests (5)
Validation\ValidatableInfoResolverTests.cs (3)
142
Options.
Resolvers
.Add(resolver1.Object);
143
Options.
Resolvers
.Add(resolver2.Object);
144
Options.
Resolvers
.Add(resolver3.Object);
Validation\ValidatableParameterInfoTests.cs (1)
363
Resolvers
.Add(resolver);
Validation\ValidatableTypeInfoTests.cs (1)
679
Resolvers
.Add(resolver);
Microsoft.AspNetCore.Http.Microbenchmarks (1)
ValidatableTypesBenchmark.cs (1)
36
options.
Resolvers
.Insert(0, mockResolver);
Microsoft.AspNetCore.Routing (2)
RouteEndpointDataSource.cs (1)
242
var hasValidationResolvers = builder.ApplicationServices.GetService<IOptions<ValidationOptions>>() is { Value: { } options } && options.
Resolvers
.Count > 0;
ValidationEndpointFilterFactory.cs (1)
17
if (options is null || options.
Resolvers
.Count == 0)