ApplicationBuilderFactory(IServiceProvider) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize a new factory instance with an IServiceProvider.
public:
ApplicationBuilderFactory(IServiceProvider ^ serviceProvider);
public ApplicationBuilderFactory (IServiceProvider serviceProvider);
new Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory : IServiceProvider -> Microsoft.AspNetCore.Hosting.Builder.ApplicationBuilderFactory
Public Sub New (serviceProvider As IServiceProvider)
Parameters
- serviceProvider
- IServiceProvider
The IServiceProvider used to resolve dependencies and initialize components.