From bad7a53fcf2fe896c8fb5fce21a26069a6190268 Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 5 Sep 2024 16:30:31 -1000 Subject: [PATCH] fix snippet tag (#262) --- samples/KeyedServices9/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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