다음을 통해 공유


OutputCacheServiceCollectionExtensions.AddOutputCache 메서드

정의

오버로드

AddOutputCache(IServiceCollection)

출력 캐싱 서비스를 추가합니다.

AddOutputCache(IServiceCollection, Action<OutputCacheOptions>)

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

AddOutputCache(IServiceCollection)

Source:
OutputCacheServiceCollectionExtensions.cs

출력 캐싱 서비스를 추가합니다.

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

매개 변수

services
IServiceCollection

서비스를 추가하기 위한 IServiceCollection.

반환

적용 대상

AddOutputCache(IServiceCollection, Action<OutputCacheOptions>)

Source:
OutputCacheServiceCollectionExtensions.cs

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

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

매개 변수

services
IServiceCollection

서비스를 추가하기 위한 IServiceCollection.

configureOptions
Action<OutputCacheOptions>

OutputCacheOptions구성하는 대리자입니다.

반환

적용 대상