次の方法で共有


DelegateStartup コンストラクター

定義

オーバーロード

DelegateStartup(Action<IApplicationBuilder>)
DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)

新しい DelegateStartup のインスタンスを作成します。

DelegateStartup(Action<IApplicationBuilder>)

public:
 DelegateStartup(Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public DelegateStartup (Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
new Microsoft.AspNetCore.Hosting.DelegateStartup : Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.DelegateStartup
Public Sub New (configureApp As Action(Of IApplicationBuilder))

パラメーター

configureApp
Action<IApplicationBuilder>

適用対象

DelegateStartup(IServiceProviderFactory<IServiceCollection>, Action<IApplicationBuilder>)

ソース:
DelegateStartup.cs
ソース:
DelegateStartup.cs
ソース:
DelegateStartup.cs

新しい DelegateStartup のインスタンスを作成します。

public:
 DelegateStartup(Microsoft::Extensions::DependencyInjection::IServiceProviderFactory<Microsoft::Extensions::DependencyInjection::IServiceCollection ^> ^ factory, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configureApp);
public DelegateStartup (Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection> factory, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configureApp);
new Microsoft.AspNetCore.Hosting.DelegateStartup : Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<Microsoft.Extensions.DependencyInjection.IServiceCollection> * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Hosting.DelegateStartup
Public Sub New (factory As IServiceProviderFactory(Of IServiceCollection), configureApp As Action(Of IApplicationBuilder))

パラメーター

factory
IServiceProviderFactory<IServiceCollection>

インスタンスを作成するための IServiceProvider ファクトリ。

configureApp
Action<IApplicationBuilder>

Actionアプリケーションを構成するための 。

適用対象