OutputCacheServiceCollectionExtensions.AddOutputCache Methode

Definition

Überlädt

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

Parameter

Gibt zurück

Gilt fü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

Parameter

configureOptions
Action<OutputCacheOptions>

Gibt zurück

Gilt für: