RequestLocalizationMiddleware コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>)
注意事項
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パイプライン内の次のミドルウェアを表す 。
- options
- IOptions<RequestLocalizationOptions>
の RequestLocalizationOptions オプション RequestLocalizationMiddlewareを表す 。
- 属性
適用対象
RequestLocalizationMiddleware(RequestDelegate, IOptions<RequestLocalizationOptions>, ILoggerFactory)
新しい 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
- 属性