222 references to ApplicationBuilder
Microsoft.AspNetCore.Antiforgery.Test (2)
AntiforgeryApplicationBuilderExtensionsTest.cs (2)
18
var builder = new
ApplicationBuilder
(services);
38
var builder = new
ApplicationBuilder
(services);
Microsoft.AspNetCore.Authorization.Test (3)
AuthorizationAppBuilderExtensionsTests.cs (2)
21
var app = new
ApplicationBuilder
(services);
49
var app = new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider());
AuthorizationMiddlewareTests.cs (1)
297
var appBuilder = new
ApplicationBuilder
(services);
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (1)
266
_applicationBuilder = new
ApplicationBuilder
(ServiceProvider);
HotReloadServiceTests.cs (1)
302
public IApplicationBuilder CreateApplicationBuilder() => new
ApplicationBuilder
(_serviceProvider);
RazorComponentEndpointDataSourceTest.cs (1)
318
public IApplicationBuilder CreateApplicationBuilder() => new
ApplicationBuilder
(_serviceProvider);
Microsoft.AspNetCore.Components.Server.Tests (1)
ComponentEndpointRouteBuilderExtensionsTest.cs (1)
145
return new
ApplicationBuilder
(serviceProvider);
Microsoft.AspNetCore.Grpc.JsonTranscoding.Tests (1)
JsonTranscodingServiceMethodProviderTests.cs (1)
257
return new
ApplicationBuilder
(ServiceProvider);
Microsoft.AspNetCore.Grpc.Swagger.Tests (3)
GrpcSwaggerServiceExtensionsTests.cs (2)
32
var app = new
ApplicationBuilder
(serviceProvider);
68
var app = new
ApplicationBuilder
(serviceProvider);
Infrastructure\OpenApiTestHelpers.cs (1)
32
var app = new
ApplicationBuilder
(serviceProvider);
Microsoft.AspNetCore.Hosting.Tests (15)
ConfigureBuilderTests.cs (1)
22
var applicationBuilder = new
ApplicationBuilder
(services);
StartupManagerTests.cs (14)
300
var app = new
ApplicationBuilder
(services);
323
var app = new
ApplicationBuilder
(services);
349
var app = new
ApplicationBuilder
(services);
396
var app = new
ApplicationBuilder
(services);
459
var app = new
ApplicationBuilder
(services);
476
var app = new
ApplicationBuilder
(services);
494
var app = new
ApplicationBuilder
(services);
511
var app = new
ApplicationBuilder
(services);
526
var app = new
ApplicationBuilder
(services);
540
var app = new
ApplicationBuilder
(services);
555
var app = new
ApplicationBuilder
(services);
571
var app = new
ApplicationBuilder
(services);
587
var app = new
ApplicationBuilder
(services);
633
var app = new
ApplicationBuilder
(services);
Microsoft.AspNetCore.Http.Abstractions.Tests (39)
MapPathMiddlewareTests.cs (9)
38
var builder = new
ApplicationBuilder
(serviceProvider: null!);
39
var noMiddleware = new
ApplicationBuilder
(serviceProvider: null!).Build();
57
var builder = new
ApplicationBuilder
(serviceProvider: null!);
87
var builder = new
ApplicationBuilder
(serviceProvider: null!);
115
var builder = new
ApplicationBuilder
(serviceProvider: null!);
131
Assert.Throws<ArgumentException>(() => new
ApplicationBuilder
(serviceProvider: null!).Map(matchPath, map => { }).Build());
145
var builder = new
ApplicationBuilder
(serviceProvider: null!);
167
var builder = new
ApplicationBuilder
(serviceProvider: null!);
181
var builder = new
ApplicationBuilder
(serviceProvider: null!);
MapPredicateMiddlewareTests.cs (6)
48
var builder = new
ApplicationBuilder
(serviceProvider: null!);
49
var noMiddleware = new
ApplicationBuilder
(serviceProvider: null!).Build();
63
var builder = new
ApplicationBuilder
(serviceProvider: null!);
75
var builder = new
ApplicationBuilder
(serviceProvider: null!);
87
var builder = new
ApplicationBuilder
(serviceProvider: null!);
99
var builder = new
ApplicationBuilder
(serviceProvider: null!);
UseExtensionsTests.cs (2)
14
var builder = new
ApplicationBuilder
(serviceProvider: null!);
51
var builder = new
ApplicationBuilder
(serviceProvider: null!);
UseMiddlewareTest.cs (20)
15
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
29
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
43
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
57
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
71
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
84
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
97
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
110
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
123
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
137
var builder = new
ApplicationBuilder
(new DummyKeyedServiceProvider());
151
var builder = new
ApplicationBuilder
(new DummyKeyedServiceProvider());
162
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
174
var builder = new
ApplicationBuilder
(new DummyServiceProvider());
185
var builder = new
ApplicationBuilder
(keyedServiceProvider);
196
var builder = new
ApplicationBuilder
(keyedServiceProvider);
206
var builder = new
ApplicationBuilder
(mockServiceProvider);
215
var builder = new
ApplicationBuilder
(mockServiceProvider);
224
var builder = new
ApplicationBuilder
(mockServiceProvider);
241
var builder = new
ApplicationBuilder
(mockServiceProvider);
264
var builder = new
ApplicationBuilder
(mockServiceProvider);
UsePathBaseExtensionsTests.cs (1)
240
return new
ApplicationBuilder
(new DummyServiceProvider());
UseWhenExtensionsTests.cs (1)
110
return new
ApplicationBuilder
(serviceProvider: null!);
Microsoft.AspNetCore.Http.Extensions.Tests (1)
RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
164
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider ?? CreateServiceProvider()));
Microsoft.AspNetCore.Http.Microbenchmarks (1)
src\Http\Http.Extensions\test\RequestDelegateGenerator\RequestDelegateCreationTestBase.cs (1)
164
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider ?? CreateServiceProvider()));
Microsoft.AspNetCore.Http.Tests (8)
ApplicationBuilderTests.cs (8)
16
var builder = new
ApplicationBuilder
(null);
28
var builder = new
ApplicationBuilder
(null);
45
var builder = new
ApplicationBuilder
(null);
53
var builder = new
ApplicationBuilder
(null);
86
var builder = new
ApplicationBuilder
(serviceProvider);
112
var builder = new
ApplicationBuilder
(serviceProvider);
130
var builder = new
ApplicationBuilder
(null);
159
var builder1 = new
ApplicationBuilder
(null);
Microsoft.AspNetCore.HttpLogging.Tests (3)
HttpLoggingServicesExtensionsTests.cs (3)
30
var appBuilder = new
ApplicationBuilder
(serviceProvider);
42
var appBuilder = new
ApplicationBuilder
(serviceProvider);
56
var appBuilder = new
ApplicationBuilder
(serviceProvider);
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (8)
CustomSchemaTest.cs (1)
33
_builder = new
ApplicationBuilder
(services.BuildServiceProvider());
DefaultPocoTest.cs (1)
33
_builder = new
ApplicationBuilder
(provider);
EmptySchemaTest.cs (1)
33
_builder = new
ApplicationBuilder
(services.BuildServiceProvider());
MaxKeyLengthSchemaTest.cs (1)
32
_builder = new
ApplicationBuilder
(services.BuildServiceProvider());
UserOnlyCustomContextTest.cs (1)
77
_builder = new
ApplicationBuilder
(provider);
UserOnlyTest.cs (1)
38
_builder = new
ApplicationBuilder
(provider);
VersionOneSchemaTest.cs (1)
34
_builder = new
ApplicationBuilder
(services.BuildServiceProvider());
VersionTwoSchemaTest.cs (1)
35
_builder = new
ApplicationBuilder
(services.BuildServiceProvider());
Microsoft.AspNetCore.Identity.InMemory.Test (2)
ControllerTest.cs (2)
40
var app = new
ApplicationBuilder
(services.BuildServiceProvider());
91
var app = new
ApplicationBuilder
(services.BuildServiceProvider());
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (9)
EndpointMetadataApiDescriptionProviderTest.cs (9)
1030
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1090
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1122
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1154
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1186
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1215
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1244
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1332
var builder = new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
1573
new TestEndpointRouteBuilder(new
ApplicationBuilder
(TestServiceProvider.Instance));
Microsoft.AspNetCore.Mvc.Core.Test (10)
Builder\MvcApplicationBuilderExtensionsTest.cs (2)
43
var appBuilder = new
ApplicationBuilder
(serviceProvider);
68
var appBuilder = new
ApplicationBuilder
(serviceProvider);
Filters\MiddlewareFilterAttributeTest.cs (1)
20
filterBuilderService.ApplicationBuilder = new
ApplicationBuilder
(serviceProvider);
Filters\MiddlewareFilterBuilderTest.cs (6)
22
var appBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
47
var appBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
80
var appBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
109
var appBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
161
var appBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
229
var appBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
Filters\MiddlewareFilterTest.cs (1)
322
var applicationBuilder = new
ApplicationBuilder
(applicationServices.BuildServiceProvider());
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
208
_applicationBuilder = new
ApplicationBuilder
(ServiceProvider);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
281
_applicationBuilder = new
ApplicationBuilder
(ServiceProvider);
Microsoft.AspNetCore.OpenApi.Tests (15)
Extensions\OpenApiEndpointRouteBuilderExtensionsTests.cs (7)
23
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
40
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
55
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
86
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
117
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
142
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
170
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (7)
26
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
49
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
72
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
100
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
129
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
161
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
191
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
Services\OpenApiDocumentServiceTestsBase.cs (1)
164
return new TestEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
Microsoft.AspNetCore.Owin (1)
OwinExtensions.cs (1)
111
var builder = new
ApplicationBuilder
(serviceProvider: serviceProvider);
Microsoft.AspNetCore.Owin.Tests (1)
OwinExtensionTests.cs (1)
125
var builder = new
ApplicationBuilder
(serviceProvider);
Microsoft.AspNetCore.RateLimiting.Tests (4)
RateLimitingApplicationBuilderExtensionsTests.cs (4)
22
var appBuilder = new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider());
31
var appBuilder = new
ApplicationBuilder
(serviceProvider);
55
var appBuilder = new
ApplicationBuilder
(serviceProvider);
72
var appBuilder = new
ApplicationBuilder
(serviceProvider);
Microsoft.AspNetCore.Routing.Tests (89)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (11)
25
var app = new
ApplicationBuilder
(Mock.Of<IServiceProvider>());
42
var app = new
ApplicationBuilder
(Mock.Of<IServiceProvider>());
61
var app = new
ApplicationBuilder
(services);
88
var app = new
ApplicationBuilder
(services);
115
var app = new
ApplicationBuilder
(services);
135
var app = new
ApplicationBuilder
(services);
156
var app = new
ApplicationBuilder
(services);
187
var app = new
ApplicationBuilder
(services);
248
var app = new
ApplicationBuilder
(services);
303
var app = new
ApplicationBuilder
(services);
333
var app = new
ApplicationBuilder
(services);
Builder\FallbackEndpointRouteBuilderExtensionsTest.cs (2)
19
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
35
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
Builder\GroupTest.cs (14)
25
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
56
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
90
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
124
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
136
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
154
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
183
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
204
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
239
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
259
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
303
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
319
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
337
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
364
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
Builder\RequestDelegateEndpointRouteBuilderExtensionsTest.cs (16)
64
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
87
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
114
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
149
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
179
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
228
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
263
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
329
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
351
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
369
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
386
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
402
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
434
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
457
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
477
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
512
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(EmptyServiceProvider.Instance));
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (41)
67
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
95
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
115
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
135
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
173
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
213
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
224
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
252
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
263
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().AddSingleton<TodoService>().BuildServiceProvider()));
283
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().AddSingleton<TodoService>().BuildServiceProvider()));
303
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().AddSingleton<TodoService>().BuildServiceProvider()));
327
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().AddSingleton<TodoService>().BuildServiceProvider()));
347
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().AddSingleton<TodoService>().BuildServiceProvider()));
367
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().AddSingleton<TodoService>().BuildServiceProvider()));
391
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
411
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
431
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
452
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
483
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
507
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
549
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
593
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
603
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
626
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
651
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
661
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
681
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
699
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
719
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
739
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
755
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
774
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
790
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new EmptyServiceProvider()));
813
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(serviceProvider));
839
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));
917
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));
933
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));
961
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));
993
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(appServiceCollection.BuildServiceProvider()));
1016
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));
1038
var builder = new DefaultEndpointRouteBuilder(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));
Builder\RoutingBuilderExtensionsTest.cs (4)
39
var app = new
ApplicationBuilder
(Mock.Of<IServiceProvider>());
56
var app = new
ApplicationBuilder
(Mock.Of<IServiceProvider>());
75
var app = new
ApplicationBuilder
(services);
100
var app = new
ApplicationBuilder
(services);
EndpointRoutingMiddlewareTest.cs (1)
409
var applicationBuilder = new
ApplicationBuilder
(services.BuildServiceProvider());
Microsoft.AspNetCore.Testing.Tests (1)
FakeStartupTests.cs (1)
20
sut.Configure(new
ApplicationBuilder
(new ServiceCollection().BuildServiceProvider()));