18 references to _builder
Microsoft.AspNetCore.OpenApi.Microbenchmarks (18)
TransformersBenchmark.cs (18)
32_builder.MapGet("/", () => { });
37_documentService = CreateDocumentService(_builder, _options);
38_serviceProvider = _builder.ServiceProvider.CreateScope().ServiceProvider;
44_builder.MapGet("/", () => { });
53_documentService = CreateDocumentService(_builder, _options);
54_serviceProvider = _builder.ServiceProvider.CreateScope().ServiceProvider;
60_builder.MapGet("/", () => { });
65_documentService = CreateDocumentService(_builder, _options);
66_serviceProvider = _builder.ServiceProvider.CreateScope().ServiceProvider;
72_builder.MapGet("/", () => { });
81_documentService = CreateDocumentService(_builder, _options);
82_serviceProvider = _builder.ServiceProvider.CreateScope().ServiceProvider;
88_builder.MapPost("/", (Todo todo) => todo);
93_documentService = CreateDocumentService(_builder, _options);
94_serviceProvider = _builder.ServiceProvider.CreateScope().ServiceProvider;
100_builder.MapPost("/", (Todo todo) => todo);
116_documentService = CreateDocumentService(_builder, _options);
117_serviceProvider = _builder.ServiceProvider.CreateScope().ServiceProvider;