* fix snippet tag

* fix snippet tag
main
Rick Anderson 2024-09-05 16:52:19 -10:00 committed by GitHub
parent bad7a53fcf
commit 23fbafb682
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class MyHub : Hub
// </snippet_1>
#endif
#if SECONDARY
// </snippet_2>
// <snippet_2>
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddKeyedSingleton<MySingletonClass>("test");
builder.Services.AddKeyedScoped<MyScopedClass>("test2");