factory di

services.AddScoped(typeof(Test));

service

//services.AddScoped<Test>()
// .AddScoped<ITest, Test>(s => s.GetService<Test>());vi

相關文章
相關標籤/搜索