TagHelperServicesExtensions.AddCacheTagHelperLimits Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>) |
Configures the memory size limits on the cache of the CacheTagHelper. |
AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>) |
Configures the memory size limits on the cache of the CacheTagHelper. |
AddCacheTagHelperLimits(IMvcBuilder, Action<CacheTagHelperOptions>)
- Source:
- TagHelperExtensions.cs
- Source:
- TagHelperExtensions.cs
- Source:
- TagHelperExtensions.cs
Configures the memory size limits on the cache of the 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
Parameters
- builder
- IMvcBuilder
The IMvcBuilder.
- configure
- Action<CacheTagHelperOptions>
The Action<T>to configure the cache options.
Returns
The IMvcBuilder.
Applies to
AddCacheTagHelperLimits(IMvcCoreBuilder, Action<CacheTagHelperOptions>)
- Source:
- TagHelperExtensions.cs
- Source:
- TagHelperExtensions.cs
- Source:
- TagHelperExtensions.cs
Configures the memory size limits on the cache of the 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
Parameters
- builder
- IMvcCoreBuilder
The IMvcCoreBuilder.
- configure
- Action<CacheTagHelperOptions>
The Action<T>to configure the cache options.
Returns
The IMvcCoreBuilder.