Partilhar via


TagHelperServicesExtensions.AddCacheTagHelperLimits Método

Definição

Sobrecargas

AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)

Configura os limites de tamanho de memória no cache do CacheTagHelper.

AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)

Configura os limites de tamanho de memória no cache do CacheTagHelper.

AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)

Origem:
TagHelperExtensions.cs
Origem:
TagHelperExtensions.cs
Origem:
TagHelperExtensions.cs

Configura os limites de tamanho de memória no cache do 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>

O Action<T>para configurar as opções de cache.

Retornos

O IMvcBuilder.

Aplica-se a

AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)

Origem:
TagHelperExtensions.cs
Origem:
TagHelperExtensions.cs
Origem:
TagHelperExtensions.cs

Configura os limites de tamanho de memória no cache do 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>

O Action<T>para configurar as opções de cache.

Retornos

O IMvcCoreBuilder.

Aplica-se a