AddScoped 方法會使用範圍存留期(單一要求的存留期)來註冊服務。 將在此主題稍後將說明服務存留期。 C# 複製. using DependencyInjectionSample.
確定! 回上一頁