Dela via


ApplicationBuilder Constructors

Definition

Overloads

ApplicationBuilder(IServiceProvider)

Initializes a new instance of ApplicationBuilder.

ApplicationBuilder(IServiceProvider, Object)

Initializes a new instance of ApplicationBuilder.

ApplicationBuilder(IServiceProvider)

Source:
ApplicationBuilder.cs

Initializes a new instance of ApplicationBuilder.

public:
 ApplicationBuilder(IServiceProvider ^ serviceProvider);
public ApplicationBuilder (IServiceProvider serviceProvider);
new Microsoft.AspNetCore.Builder.ApplicationBuilder : IServiceProvider -> Microsoft.AspNetCore.Builder.ApplicationBuilder
Public Sub New (serviceProvider As IServiceProvider)

Parameters

serviceProvider
IServiceProvider

The IServiceProvider for application services.

Applies to

ApplicationBuilder(IServiceProvider, Object)

Source:
ApplicationBuilder.cs

Initializes a new instance of ApplicationBuilder.

public:
 ApplicationBuilder(IServiceProvider ^ serviceProvider, System::Object ^ server);
public ApplicationBuilder (IServiceProvider serviceProvider, object server);
new Microsoft.AspNetCore.Builder.ApplicationBuilder : IServiceProvider * obj -> Microsoft.AspNetCore.Builder.ApplicationBuilder
Public Sub New (serviceProvider As IServiceProvider, server As Object)

Parameters

serviceProvider
IServiceProvider

The IServiceProvider for application services.

server
Object

The server instance that hosts the application.

Applies to