12 references to TodoService
Microsoft.AspNetCore.Routing.Tests (12)
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (12)
263
var builder = new DefaultEndpointRouteBuilder(new ApplicationBuilder(new ServiceCollection().AddSingleton<
TodoService
>().BuildServiceProvider()));
264
_ = builder.MapGet("/", (
TodoService
todo) => { });
283
var builder = new DefaultEndpointRouteBuilder(new ApplicationBuilder(new ServiceCollection().AddSingleton<
TodoService
>().BuildServiceProvider()));
284
_ = builder.MapDelete("/", (
TodoService
todo) => { });
303
var builder = new DefaultEndpointRouteBuilder(new ApplicationBuilder(new ServiceCollection().AddSingleton<
TodoService
>().BuildServiceProvider()));
304
_ = builder.MapPatch("/", (
TodoService
todo) => { });
327
var builder = new DefaultEndpointRouteBuilder(new ApplicationBuilder(new ServiceCollection().AddSingleton<
TodoService
>().BuildServiceProvider()));
328
_ = builder.MapGet("/", ([TestFromServiceAttribute]
TodoService
todo) => { });
347
var builder = new DefaultEndpointRouteBuilder(new ApplicationBuilder(new ServiceCollection().AddSingleton<
TodoService
>().BuildServiceProvider()));
348
_ = builder.MapDelete("/", ([TestFromServiceAttribute]
TodoService
todo) => { });
367
var builder = new DefaultEndpointRouteBuilder(new ApplicationBuilder(new ServiceCollection().AddSingleton<
TodoService
>().BuildServiceProvider()));
368
_ = builder.MapPatch("/", ([TestFromServiceAttribute]
TodoService
todo) => { });