ResponseCachingServicesExtensions.AddResponseCaching 메서드

정의

오버로드

AddResponseCaching(IServiceCollection)

응답 캐싱 서비스를 추가합니다.

AddResponseCaching(IServiceCollection, Action<ResponseCachingOptions>)

응답 캐싱 서비스를 추가하고 관련 옵션을 구성합니다.

AddResponseCaching(IServiceCollection)

응답 캐싱 서비스를 추가합니다.

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

매개 변수

services
IServiceCollection

IServiceCollection 서비스를 추가하기 위한 것입니다.

반환

IServiceCollection

적용 대상

AddResponseCaching(IServiceCollection, Action<ResponseCachingOptions>)

응답 캐싱 서비스를 추가하고 관련 옵션을 구성합니다.

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

매개 변수

services
IServiceCollection

IServiceCollection 서비스를 추가하기 위한 것입니다.

configureOptions
Action<ResponseCachingOptions>

ResponseCachingOptions를 구성하기 위한 대리자입니다.

반환

IServiceCollection

적용 대상