次の方法で共有


RequestDecompressionServiceExtensions.AddRequestDecompression メソッド

定義

オーバーロード

AddRequestDecompression(IServiceCollection)

要求圧縮解除サービスを追加します。

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

要求圧縮解除サービスを追加し、関連するオプションを構成します。

AddRequestDecompression(IServiceCollection)

ソース:
RequestDecompressionServiceExtensions.cs

要求圧縮解除サービスを追加します。

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddRequestDecompression : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestDecompression (services As IServiceCollection) As IServiceCollection

パラメーター

services
IServiceCollection

IServiceCollectionサービスを追加するための 。

戻り値

IServiceCollection

適用対象

AddRequestDecompression(IServiceCollection, Action<RequestDecompressionOptions>)

ソース:
RequestDecompressionServiceExtensions.cs

要求圧縮解除サービスを追加し、関連するオプションを構成します。

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddRequestDecompression (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.RequestDecompression.RequestDecompressionOptions> configureOptions);
static member AddRequestDecompression : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.RequestDecompression.RequestDecompressionOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddRequestDecompression (services As IServiceCollection, configureOptions As Action(Of RequestDecompressionOptions)) As IServiceCollection

パラメーター

services
IServiceCollection

IServiceCollectionサービスを追加するための 。

configureOptions
Action<RequestDecompressionOptions>

RequestDecompressionOptions を構成するデリゲート。

戻り値

IServiceCollection

適用対象