StartupBase<TBuilder>(IServiceProviderFactory<TBuilder>) 构造函数

定义

StartupBase 类的构造函数。

public:
 StartupBase(Microsoft::Extensions::DependencyInjection::IServiceProviderFactory<TBuilder> ^ factory);
public StartupBase (Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TBuilder> factory);
new Microsoft.AspNetCore.Hosting.StartupBase<'Builder> : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<'Builder> -> Microsoft.AspNetCore.Hosting.StartupBase<'Builder>
Public Sub New (factory As IServiceProviderFactory(Of TBuilder))

参数

factory
IServiceProviderFactory<TBuilder>

用于生成 IServiceProvider 实例的工厂。

适用于