TagHelperServicesExtensions.AddCacheTagHelperLimits Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>) |
Konfiguruje limity velikosti paměti v mezipaměti CacheTagHelper. |
| AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>) |
Konfiguruje limity velikosti paměti v mezipaměti CacheTagHelper. |
AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)
Konfiguruje limity velikosti paměti v mezipaměti CacheTagHelper.
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>
Konfiguracemožnostích Action<T>
Návraty
Hodnota IMvcBuilder
Platí pro
AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)
Konfiguruje limity velikosti paměti v mezipaměti CacheTagHelper.
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
- builder
- IMvcCoreBuilder
Hodnota IMvcCoreBuilder
- configure
- Action<CacheTagHelperOptions>
Konfiguracemožnostích Action<T>
Návraty
Hodnota IMvcCoreBuilder