Sdílet prostřednictvím


TagHelperServicesExtensions.AddCacheTagHelperLimits Metoda

Definice

Přetížení

AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)

Konfiguruje omezení velikosti paměti v mezipaměti CacheTagHelpernástroje .

AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)

Konfiguruje omezení velikosti paměti v mezipaměti CacheTagHelpernástroje .

AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)

Zdroj:
TagHelperExtensions.cs
Zdroj:
TagHelperExtensions.cs

Konfiguruje omezení velikosti paměti v mezipaměti CacheTagHelpernástroje .

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder AddCacheTagHelperLimits (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, Action<Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions> configure);
static member AddCacheTagHelperLimits : Microsoft.Extensions.DependencyInjection.IMvcBuilder * Action<Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions> -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function AddCacheTagHelperLimits (builder As IMvcBuilder, configure As Action(Of CacheTagHelperOptions)) As IMvcBuilder

Parametry

builder
IMvcBuilder

Hodnota IMvcBuilder

configure
Action<CacheTagHelperOptions>

Konfigurace Action<T>možností mezipaměti.

Návraty

Hodnota IMvcBuilder

Platí pro

AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)

Zdroj:
TagHelperExtensions.cs
Zdroj:
TagHelperExtensions.cs

Konfiguruje omezení velikosti paměti v mezipaměti CacheTagHelpernástroje .

public static Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder AddCacheTagHelperLimits (this Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder builder, Action<Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions> configure);
static member AddCacheTagHelperLimits : Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder * Action<Microsoft.AspNetCore.Mvc.TagHelpers.CacheTagHelperOptions> -> Microsoft.Extensions.DependencyInjection.IMvcCoreBuilder
<Extension()>
Public Function AddCacheTagHelperLimits (builder As IMvcCoreBuilder, configure As Action(Of CacheTagHelperOptions)) As IMvcCoreBuilder

Parametry

configure
Action<CacheTagHelperOptions>

Konfigurace Action<T>možností mezipaměti.

Návraty

Hodnota IMvcCoreBuilder

Platí pro