OutputCacheServiceCollectionExtensions.AddOutputCache Yöntem

Tanım

Aşırı Yüklemeler

AddOutputCache(IServiceCollection)
AddOutputCache(IServiceCollection, Action<OutputCacheOptions>)

AddOutputCache(IServiceCollection)

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

Parametreler

Döndürülenler

Şunlara uygulanır

AddOutputCache(IServiceCollection, Action<OutputCacheOptions>)

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

Parametreler

configureOptions
Action<OutputCacheOptions>

Döndürülenler

Şunlara uygulanır