To register a service with the singleton lifetime, use the AddSingleton extension method on the IServiceCollection : ... C# developers!
確定! 回上一頁