Compartir a través de


TagHelperServicesExtensions.AddCacheTagHelperLimits Método

Definición

Sobrecargas

AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)

Configura los límites de tamaño de memoria en la memoria caché de CacheTagHelper.

AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)

Configura los límites de tamaño de memoria en la memoria caché de CacheTagHelper.

AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)

Source:
TagHelperExtensions.cs
Source:
TagHelperExtensions.cs
Source:
TagHelperExtensions.cs

Configura los límites de tamaño de memoria en la memoria caché de 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

Parámetros

configure
Action<CacheTagHelperOptions>

Action<T>para configurar las opciones de caché.

Devoluciones

IMvcBuilder.

Se aplica a

AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)

Source:
TagHelperExtensions.cs
Source:
TagHelperExtensions.cs
Source:
TagHelperExtensions.cs

Configura los límites de tamaño de memoria en la memoria caché de 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

Parámetros

configure
Action<CacheTagHelperOptions>

Action<T>para configurar las opciones de caché.

Devoluciones

IMvcCoreBuilder.

Se aplica a