StartupBase<TBuilder>.IStartup.ConfigureServices 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
virtual IServiceProvider ^ Microsoft.AspNetCore.Hosting.IStartup.ConfigureServices(Microsoft::Extensions::DependencyInjection::IServiceCollection ^ services) = Microsoft::AspNetCore::Hosting::IStartup::ConfigureServices;
IServiceProvider IStartup.ConfigureServices (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
abstract member Microsoft.AspNetCore.Hosting.IStartup.ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
override this.Microsoft.AspNetCore.Hosting.IStartup.ConfigureServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> IServiceProvider
Function ConfigureServices (services As IServiceCollection) As IServiceProvider Implements IStartup.ConfigureServices
参数
- services
- IServiceCollection