diff --git a/samples/KeyedServices9/Program.cs b/samples/KeyedServices9/Program.cs index 5d9d551..170c7c5 100644 --- a/samples/KeyedServices9/Program.cs +++ b/samples/KeyedServices9/Program.cs @@ -55,7 +55,7 @@ public class MyHub : Hub // #endif #if SECONDARY -// +// var builder = WebApplication.CreateBuilder(args); builder.Services.AddKeyedSingleton("test"); builder.Services.AddKeyedScoped("test2"); @@ -78,5 +78,5 @@ internal class MyMiddleware [FromKeyedServices("test2")] MyScopedClass scopedService) => _next(context); } -// +// #endif