RequestLocalizationMiddleware コンストラクター

定義

オーバーロード

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)
古い.

新しい RequestLocalizationMiddleware を作成します。

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)

新しい RequestLocalizationMiddleware を作成します。

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)

ソース:
RequestLocalizationMiddleware.cs
ソース:
RequestLocalizationMiddleware.cs

注意事項

This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead

新しい RequestLocalizationMiddleware を作成します。

public:
 RequestLocalizationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^> ^ options);
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options);
[System.Obsolete("This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead")]
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options);
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
[<System.Obsolete("This constructor is obsolete and will be removed in a future version. Use RequestLocalizationMiddleware(RequestDelegate next, IOptions<RequestLocalizationOptions> options, ILoggerFactory loggerFactory) instead")>]
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of RequestLocalizationOptions))

パラメーター

next
RequestDelegate

RequestDelegateパイプライン内の次のミドルウェアを表す 。

属性

適用対象

RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)

ソース:
RequestLocalizationMiddleware.cs

新しい RequestLocalizationMiddleware を作成します。

public:
 RequestLocalizationMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
[Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructor]
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
public RequestLocalizationMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
[<Microsoft.Extensions.DependencyInjection.ActivatorUtilitiesConstructor>]
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
new Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.RequestLocalizationOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of RequestLocalizationOptions), loggerFactory As ILoggerFactory)

パラメーター

next
RequestDelegate

RequestDelegateパイプライン内の次のミドルウェアを表す 。

options
IOptions<RequestLocalizationOptions>

RequestLocalizationOptionsログRequestLocalizationMiddleware記録に使用される のILoggerFactoryオプションを表す 。

loggerFactory
ILoggerFactory
属性

適用対象